A user working with Shopify’s Broadcast theme needed help adjusting subcollection text alignment after converting image-based subcollections to text links.
Initial Problem:
Subcollections displayed as text needed to be left-aligned on the screen
User provided preview link and screenshot showing current centered layout
Solutions Provided:
Multiple CSS code snippets were offered to adjust padding and alignment:
Initial suggestions removed padding from .subcollection__link
User clarified they wanted a horizontal list layout (shown via reference image)
More comprehensive CSS was provided targeting .subcollections .grid with flexbox and left justification
Follow-up Issues & Resolution:
Desktop alignment worked but mobile layout broke
Final solution added media query for screens under 749px to set grid items to width: auto
User also requested font size reduction capability
Status: Resolved - user confirmed the mobile fix worked successfully.
One contributor also explained a potential browser rendering issue with fractional pixels at certain Windows display scaling settings, though this appeared tangential to the main alignment problem.
Summarized with AI on October 25.
AI used: claude-sonnet-4-5-20250929.
I am using the broadcast theme and have been in contact with the support about making changes in the sections called ‘subcollections’ that is shown on all of my collection pages.
Normally the subcollections are shown as pictures but I wanted them as text (with links). So far so good. I now need the text to be more adjusted to the left side of the screen. Is there anyone who can help me with that?
Thanks for your response. It wasn’t quite that look I wanted. It is more like this (pleace see picture for reference). Do you know how to do that? And perhabs also make a line under all of the links?
It wasn’t quite that look I wanted. It is more like this (pleace see picture for reference). Do you know how to do that? And perhabs also make a line under all of the links?
What you’re seeing is most likely a browser rendering artifact triggered by fractional pixel calculations at certain Windows display scaling settings (100% or 125%).
When elements have widths/heights that don’t fall on whole pixels, the browser rounds them differently depending on scaling, which can leave a thin white “band” between sections. At 150% scaling, the math changes and the gap disappears — which matches what you’re experiencing.
Avoid fractional percentages (e.g., 33.3333%) — use calc() or fixed values where the gap appears.
Wrap and hide overflow on parent sections:
overflow: hidden;
This isn’t always a “bug” in your theme — it’s how Chrome (and sometimes Edge) renders fractional layouts at specific DPI settings. But with some precise CSS adjustments, you can usually make it disappear entirely.
If you’d like, I can pinpoint the exact section and adjust the CSS in your Rise theme so the white band is gone at every scaling level — no workarounds needed. I’ve fixed the same issue for other Shopify stores and can do it without affecting your layout.
Thanks for getting back. The new code made it right on desktop but not on mobile. Do you have a code that makes it look right on both desktop and mobile?
Furthermore, can you add a code so that I can make the font size a bit smaller?