cancel
Showing results for 
Search instead for 
Did you mean: 

Help a beginner - Adding a Static block to left hand column

Help a beginner - Adding a Static block to left hand column

Hi,

I have had a website designed by a developer, now I want to create my first new page.

I have created a 2 column page and have the copy and images sorted for the main part of the page.

I want to add one of the existing static blocks onto the left hand column, I know where I need to enter the code (Layout update xml) but no idea what the code should be, can anyone assist please.

 

The identifier for the static block is left-img-static

Thank you in advance.

Regards

Dave 

2 REPLIES 2

Re: Help a beginner - Adding a Static block to left hand column

Hi @Reliablem,

 

Maybe this link could help: http://docs.magento.com/m1/ce/user_guide/cms/block-layout-update.html

 

Or maybe this example:

 

<reference name="right">
    <block type="cms/block" name="your.1st.block.name" before="-">
        <action method="setBlockId">
            <block_id>your_1st_block_id</block_id>
        </action>
    </block>
    <block type="cms/block" name="your.2nd.block.name" after="-">
        <action method="setBlockId">
            <block_id>your_2nd_block_id</block_id>
        </action>
    </block>
</reference>

The example is from https://magento.stackexchange.com/questions/46869/add-static-block-in-specific-cms-page

 

 

Re: Help a beginner - Adding a Static block to left hand column

Hi 

Thank you very much for your help, that worked fine.

I wondered if you could tell me how I make an image responsive?

When I add an image at the moment it is not resizing for mobile versions but the rest of the page does.

 

Regards

Dave