Shopify themes, liquid, logos, and UX
Hi,
I am trying to get my collection pages & home page featured collection to be full width on desktop.
Thanks for your help in advance!
Solved! Go to the solution
This is an accepted solution.
As I check code is working
btw update the previous code with this one
@media only screen and (min-width: 767px) {
[data-context="featured-collection"] .page-width {
padding: 0 2px;
max-width: 100%;
}
#CollectionAjaxContent .page-width {
padding: 0 2px;
max-width: 100%;
}
}
Hello @AAABARTON1 ,
Follow these steps:
1. Go to Online Store -> Theme -> Edit code
2. Open your theme.css file and paste the following code at the bottom:
[data-context="featured-collection"] .page-width {
padding: 0;
}
#CollectionAjaxContent .page-width {
padding: 0;
}
Thanks
I only have the theme.css.liquid file?
I pasted it there and nothing has changed? I actually think I want to reduce the padding for all content on the website - when I look on laptop it fits fine, but when looking on desktop there is a lot of blank space surrounding the content.
Hope this makes sense - thanks for your response too 🙂
Andrew
This is an accepted solution.
As I check code is working
btw update the previous code with this one
@media only screen and (min-width: 767px) {
[data-context="featured-collection"] .page-width {
padding: 0 2px;
max-width: 100%;
}
#CollectionAjaxContent .page-width {
padding: 0 2px;
max-width: 100%;
}
}
GENIUS, thanks 🙂
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024