Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
I want to make page full width, without spaces in left and right corners.
Solved! Go to the solution
This is an accepted solution.
Hi, @jimTim ,
This is Evita from On The Map.
1. Go to Online Store->Theme->Edit code
2. Asset->theme.scss->paste bellow code in bottom of file
.page-width { padding-left: 0!important; padding-right: 0!important; max-width: 100%!important; }
Best, Evita
This is an accepted solution.
Hi, @jimTim ,
This is Evita from On The Map.
1. Go to Online Store->Theme->Edit code
2. Asset->theme.scss->paste bellow code in bottom of file
.page-width { padding-left: 0!important; padding-right: 0!important; max-width: 100%!important; }
Best, Evita
Hi,
how do I do it for one page only? To have a certain page full width, but the rest of the theme stays the same.
I have created the copy of page liquid and how to change the code to make it full width?
Thx
Hi,
how do I do it for one page only? To have a certain page full width, but the rest of the theme stays the same.
Hi Evita - thanks for that tip - I've used it to update our pages 🙂
One question (for debut theme) is it has also stretched the footer - any suggestions how to adjust the footer?
Thanks!
So this is the same as the accepted answer just add a 2 after it: .page-width2
.page-width2 { padding-left: 0!important; padding-right: 0!important; max-width: 100%!important; }
and then go to the custom one you created so if its called Custom go to: page.Custom.liquid
<div class="page-width2">
So also just put a 2 after it.
I am trying this method, however the FAQ page I made did not generate a page.faq.liquid file.
What should I do?
User | RANK |
---|---|
237 | |
97 | |
86 | |
51 | |
42 |