A Shopify store owner seeks to eliminate black gaps on their homepage collection grid and overlay text directly onto images, referencing another site’s design as inspiration.
Solution Provided:
A community member (Dan-From-Ryviu) supplied CSS code to:
Remove spacing between collection items
Make items fill 50% width each
Position text as an overlay using absolute positioning
Implementation Progress:
Initial code successfully removed gaps on desktop
Mobile view required additional CSS adjustments (removing padding from .collection-list)
Text overlay needed !important flag to work properly
Current Status:
The layout issues are resolved. The user has one remaining question about changing the overlay text color from white to black for the ‘For Her’ and ‘For Him’ labels. The discussion remains open awaiting a response on this final styling adjustment.
Summarized with AI on November 2.
AI used: claude-sonnet-4-5-20250929.
Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.
Hello there @lontessa Like others have said here, you’d need to share your store URL link for the issue to properly be assessed and for an appropriate code fix to be given to you. If you do not want to make your link public for whatever reason, then you should could share it privately as well.
That did it! Thank you and I’m so sorry but hopefully this is my last question (I know nothing about coding!) - The ‘For Her’, ‘For Him’ font is white, do you know how I can change it to black?