Liquid, JavaScript, themes, sales channels
Hi, I'm using Icon Theme. Home & product pages are fine but Content page width is an issue.
There is a setting to change page width to THIN or FULL but it applies to both desktop & mobile.
Thin looks good on Desktop but not on Mobile & full width is better on Mobile but not Desktop.
So I want to keep page width Thin on Desktop & full width on mobile. How can I do that ?
Page Link - https://www.streefb.com/pages/video-tutorials
Thin
Solved! Go to the solution
This is an accepted solution.
@ShabanaYasmin please Go to Online Store->Theme->Edit code then go to assets/theme.css ->paste below code at the bottom of the file.
@media only screen and (min-width: 999px){
#shopify-section-page-template .grid_wrapper {
display: block !important;
max-width: 100% !important;
}
}
This is an accepted solution.
@ShabanaYasmin please Go to Online Store->Theme->Edit code then go to assets/theme.css ->paste below code at the bottom of the file.
@media only screen and (min-width: 999px){
#shopify-section-page-template .grid_wrapper {
display: block !important;
max-width: 100% !important;
}
}
Hi, There's no ( assets/theme.css ) but ( assets/theme.js ) for me.
Still tried adding the code in that but nothing changed.
This is forcing Full-Width on Desktop & Mobile, even if Theme Editor setting is for Thin View.
I want otherwise, force Full-Width but on Mobile only, so I can keep Thin view on Desktop.
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024