Shopify themes, liquid, logos, and UX
Hi @INFRA!
In Admin, go to Main Content, with the section 'Daytrips Galore'.
Add Custom CSS:
@media screen and (min-width: 750px) {
.page-width {
padding: 0;
}
}
.page-width {
max-width: 100%;
margin: 0;
}
This will achieve this:
Let me know if you need any more details. Hope this helps!
hi, I'm getting below error. Anything else I can try? Or is it interfering with the code I've added above it ? Thanks so much for your help!
Ah, it might be that the overlap in screen sizes is causing the errors, try this and let me know if your Custom CSS still has errors.
@media (max-width: 767px) {
.image-with-text__grid {
flex-wrap: wrap-reverse;
}
}
@media (min-width: 768px) {
.page-width {
padding: 0;
margin: 0;
max-width: 100%;
}
}
thanks again!
I think .page-width might be the issue here?
I believe the issue is that Custom CSS is not allowing media queries in this specific section.
To apply this media query, you’ll need to add the styles to the global CSS file.
Go to Admin > Online Store > Themes, click on the three dots next to the theme, and select Edit Code.
In the sidebar, go to assets. You’ll see a list of .css and .js files. Look for a file that matches the section’s name, possibly something like section-template.css or main-content.css.
Open that file and press Ctrl+F (or Cmd+F on a Mac) to bring up the search bar.
Type in 'page-width'. Once you find it you can add or adjust the CSS as in the above message.
Let me know if you find the right section. I hope this helps!
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025