A user successfully configured their desktop product grid to display full-width with no gaps, but encountered spacing issues on mobile view—specifically unwanted grid gaps and a small gap on the right side of the screen.
Initial Solution:
One responder provided CSS targeting mobile screens (max-width: 749px) to remove padding and top margins from the collection slider and grid elements.
This partially resolved the issue but left a small right-side gap.
Alternative Solution:
Another user offered custom CSS for the product grid section that:
Removes padding from the slider component
Sets mobile grid spacing variables to 0px
Adds border styling to create clean grid lines
Adjusts card borders for consistent appearance
A screenshot demonstrates the expected result.
Status: The discussion remains open as the original poster hasn’t confirmed whether the alternative solution fully resolves the right-side gap issue. Both solutions involve adding CSS to the theme’s Custom CSS section.
Summarized with AI on October 26.
AI used: claude-sonnet-4-5-20250929.
I was able to get my desktop page setup exactly how I want thanks to moeed, full width and no grid gap, but I’m still having an issue with the mobile width and grid gap. Any help would be appreciated.
I have attached a picture of what I’m looking to get and an image of the code i used for the desktop layout.