cancel
Showing results for 
Search instead for 
Did you mean: 

Make CMS Full width

SOLVED

Make CMS Full width

hi,

 

I want to make about us page full width on my Magento 2 store.

fw.png

How can I achieve this? please help

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Make CMS Full width

Hi @chathuramk ,

Add following line in  Layout Update XML of CMS page for which you want.

<referenceContainer name="main.content" htmlTag="main" htmlClass="page-main-full-width" />


Please find attachment for the reference. pasted_image.png

I hope it will help you!

View solution in original post

4 REPLIES 4

Re: Make CMS Full width

Hi @chathuramk ,

Add following line in  Layout Update XML of CMS page for which you want.

<referenceContainer name="main.content" htmlTag="main" htmlClass="page-main-full-width" />


Please find attachment for the reference. pasted_image.png

I hope it will help you!

View solution in original post

Re: Make CMS Full width

Hi @chathuramk ,

You can use the page builder for this.
https://devdocs.magento.com/page-builder/docs/how-to/how-to-use-full-width-layouts.html

If you want change the layout to full width of any particular page then please put the below code in Layout update XML.

<referenceContainer name="main.content" htmlTag="main" htmlClass="page-main-full-width" />

screenshot-localhost-2019.05.30-20-08-58.png

If you find my answer is useful, please Accept as Solution and give Kudos.

Thanks,
Rahul

Re: Make CMS Full width

Hi @Vimal Kumar

Apparently this approach is not possible any more from version 2.3.4.

The Design section only has a 'Custom Layout Update' select list now.

Would you know of any other ways to achieve this easily?

Thanks.



Re: Make CMS Full width

@Vimal Kumar How should i give full-width condition for specific cms block no cms page.