Mobile button styling on a Shopify store was adjusted to prevent buttons from blocking product/collection images while leaving desktop unchanged.
Initial guidance: Add mobile-only CSS (media queries) in theme files to reduce button padding/font size and shift position for collection cards. Multiple variants were suggested (max-width 650px/480px) and placed either in main.css/theme.css or before in theme.liquid.
Outcome: Early attempts didn’t show on the merchant’s side, but a refined, more targeted CSS (including specific selectors and spacing variables) resolved the issue across smaller screen widths. The merchant confirmed it worked.
Regression: After the merchant reduced Rich Text section padding, an overriding style broke the button adjustments. The helper supplied higher-specificity/override CSS, restoring the collection button look. Collections: fixed.
Remaining issue: The hero banner button sat too close to the bottom edge on mobile. The helper then provided updated CSS to move that button up without changing font size and shared a confirming screenshot.
Status: Functionally resolved for collections and likely for the hero banner; awaiting the merchant’s final confirmation. Images/screenshots were central to show before/after positioning.
Summarized with AI on December 19.
AI used: gpt-5.
Thank you. I followed those steps but it didn’t work How did you see that result on your end? Are you able to make adjustments to the backend of my site for me?
Thanks. The buttons still block some part of the images in the result. I’d prefer them to be lower with less padding. Can you please make some changes to the code?
Now this is the current mobile version. Can you please me to move the buttons up a bit in the following sections? And is it possible to reduce the font size of the collection buttons? Thank you.