cancel
Showing results for 
Search instead for 
Did you mean: 

Make CMS Full width

SOLVED
   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

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

6 REPLIES 6

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!

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 not cms page.

Re: Make CMS Full width

@Rahul1273 @Vimal Kumar 

 

How can we enable full-width in Magernto 2.3.4?

Re: Make CMS Full width

This was an ideal CMS thread. I came down to read some good blogs related to crafting CMS and just found one craft cms plugin