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!
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!
Hello @AAABARTON1 ,
Follow these steps:
Go to Online Store → Theme → Edit code
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
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 ![]()