I'd like to add a full-width area (in order to insert a block) in my Magento homepage which is now set to 2 columns with right bar layout.

Should I add a new section before the main content? How? Or is there a better way without getting layout shifting?

enter image description here

  • do you want full width on all the pages or only on homepage? Jul 15 at 5:15
  • @DhirenVasoya I'd like it only on homepage.
    – KaMZaTa
    Jul 15 at 10:53

For your requirement, you need to do this things.

  1. Create one page with empty layout.
  2. Set those page width 100%.
  3. Now set this newly created page as homepage.
  • Then, how can I set below the main content and the side content if I create one page with a 100% width?
    – KaMZaTa
    Jul 15 at 13:27
  • Using the layout container. Jul 15 at 13:34
  • Could you provide more details?
    – KaMZaTa
    Jul 15 at 13:37

I simply went on the Magento backend in Content -> Widgets -> Add Widget, Type Static Block and in Layout Updates I chose Display on: Specified Page, then CMS Home Page and Before Main Columns, and selected the block. That's it!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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