Been messing around now with CSS and cant get the title and collection items to line up perfectly. I am trying to get it to 95% of page width. Any help much appreciated. Thanks so much.
PW: ellaella
Hi! You can try this custom CSS:
@media screen and (min-width: 990px) {
.collection--full-width slider-component:not(.slider-component-desktop) {
max-width: 95%;
}
#shopify-section-template--22597247271189__featured_collection
.collection__title.title-wrapper {
max-width: 95%;
margin: auto;
padding-inline: 3rem;
}
}
I hope this will work for you!
So please add this code to Custom CSS in Them settings instead.
#shopify-section-template--22597247271189__featured_collection .page-width { padding: 0 2.5rem !important; }
Please update the code to this
#shopify-section-template--22597247271189__featured_collection .page-width { padding: 0 2.5rem !important; max-width: 100%; }
it worked. thanks so much.
Hi @ellacoker ,
Your collection looks good if you prefer the title to be centered.
Please add the following CSS to the section you’re currently editing:
#shopify-section-template--22597247271189__featured_collection .page-width {
padding: 0 2.5rem !important;
max-width: 100%;
text-align: center;
}
You are very welcome.
off sitewide
July sale — 45% off at checkout, applied automatically. Valid for 60 minutes. One per customer.
Offer ends in