Shopify themes, liquid, logos, and UX
I added a page and it looks like the default is a narrow page width. I would like to change this to 70% width. Where can I make this edit?
Solved! Go to the solution
This is an accepted solution.
i have no idea why but some reason dawn default for pages is actually main-page.liquid ... sorry about that i dont really use dawn much
in page.liquid change
<div class="page-width page-width--narrow">
to
<div class="page-width page-width--wide">
This didn't work. I still have a narrow page width. Any other ideas?
make sure you are on the right page it should say something like page.liquid not main-page or whatever else dawn has
See screen shots, page width is still narrow.
This is an accepted solution.
i have no idea why but some reason dawn default for pages is actually main-page.liquid ... sorry about that i dont really use dawn much
Thank you!!!
Are there other options besides narrow and wide? "medium" maybe?
I'm not sure i haven't messed around with dawn but most likely some type of grid css system setup
Hello, I am having this problem but now in the most recent version of Dawn, there is no main-page.liquid file. Can you tell me which file I need to update now? I can't seem to find the code when doing a search. Thank you!
I solved it. Nevermind : )
Thanks 🙂
The page width is defined like this in the liquid files:
page-width--xxxxxxx
If you are changing the width of pages, you probably also want to change other parts of the Dawn theme, like blog posts, etc...
For blog posts, and possibly others, edit these files and change
page-width--narrow --> page-width--wide
Affected filed:
Sections > main-page.liquid
Sections > page.liquid
Sections > main-article.liquid (multiple lines)
There might be more places in the many liquid files that need changing!
Super useful info! Thank you
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024