O'Reilly logo

Learning Magento Theme Development by Richard Carter

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Changing the ordering of blocks in Magento's sidebar

Apart from giving you the power to add and remove blocks from templates, the Magento layout gives you the power to reorder blocks within your pages too. There are a few ways you could rearrange the blocks in your theme's sidebar, for instance, by moving a specific block:

  • Below another block
  • To the very top of the list of blocks
  • To the very bottom of the list of blocks

Repositioning a block below a specific block

As an example, take the current right sidebar in your theme, which will look similar to what is shown in the following screenshot:

Repositioning a block below a specific block

Firstly, you can add some simple styling to the sidebar blocks ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required