Hi everyone,
I have noticed many Shopify merchants struggle with spacing around their Featured Collections on mobile. I have helped a number of stores fix this quickly without affecting desktop layouts, and here’s a simple way to do it:
Steps:
-
Identify the Featured Collection section wrapper (usually a class like .page-width or .section-padding).
-
Add a mobile-specific CSS override to adjust left/right padding. For example:
3. Save and preview your changes on mobile to ensure it looks good.
Tips:
Test changes on multiple devices if possible.
If your theme is different (not Origin), the class names might change. Inspect your section in your browser to find the correct selector.
I’m happy to help anyone who wants guidance on customizing spacing or layout for mobile. Feel free to ask here or we can continue the conversation where it’s easier to share code snippets.
2 Likes
Hi @julie_111
Thank you for sharing that fix. I also saw that many merchants have issues with that. But I think you missed saying where to copy that code?
And in this forum, it is easy to share code, not sure why you have issues. Do you see </> icon in the rich text or markdown editor?
1 Like
Hey @Augustine_digital
First, Dawn is the base for Origin, so it is the same theme. And there is no base.css or theme.css, it is just one base.css for the Dawn theme. Check the demo or GitHub.
But if you do copy to base.css, it will not apply on whole Featured Collection section, just the title. Products are in a slider and wrapped in an element that is targeted in component-slider.css, which overrides the code you propose. Try it out in your theme and you will see.
And I see you did find </> icon for code, but that is not quite there yet. You have to wrap the whole code. So maybe first click </> icon and instead type or paste code here paste your code.
And read @Maximus3 post again.
No problem, but have to ask.
Have you actually tried the steps and code before posting?