1

I am currently using Magento 1.9 and the Bootstrap boilerplate.

I have already put the banner slider in a static block.

Is there any way to move a static block out of the container to below the menu?

So it fits the screen width wise.

Any help would be appreciated.

1 Answer 1

1

1) Create some static block, then put your code on it.

2) To display this block out of container and after the menu in All pages, you have to add this piece of code in : app/design/frontend/{package}/{theme}/layout/local.xml

The piece of code:

<default>
...
<reference name="top.container">
    <block type="cms/block" name="custom.slider" after="-">
        <action method="setBlockId"><block_id>block_id</block_id></action>
    </block> 
</reference>
...
</default>

Clean Magento and browser cache.

1
  • you're welcome !
    – PЯINCƎ
    Jul 1, 2017 at 0:03

Your Answer

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

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