1

I'd like to add a static block above the content on every page.

Header Header

I've tried adding these to my local.xml but the block appears in the wrong place:

<default>
    <reference name="top.links">
        <block type="cms/block" name="head_images ">
            <action method="setBlockId"><value>head_images</value></action>
        </block>
    </reference>
</default>

And

<default>
    <reference name="after_body_start">
        <block type="cms/block" name="head_images ">
            <action method="setBlockId"><value>head_images</value></action>
        </block>
    </reference>
</default>

Any ideas?

1 Answer 1

1

You can try Widget for this.

Create a widget and set Type CMS Static Block under frontend Properties

In Layout Updates you can set

Display on: All Pages
Block Reference: Main content area 

Under widget option tab select your static block.

Hope above will help!

1
  • Worked perfectly
    – 07lodgeT
    Commented Mar 5, 2018 at 8:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.