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 🙂
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025