A user needs to reduce oversized heading fonts on mobile devices across their Shopify store (openrangeangus.com). Multiple solutions were provided involving CSS media queries targeting h2 elements.
Proposed Solutions:
Add CSS code to theme.css or theme.scss files using @media screen and (max-width: 580-768px) targeting .h2, h2 elements
One suggestion targeted navigation links specifically via span.site-nav--link-text
All solutions use !important flag to override existing styles
Current Status:
The original poster reported none of the suggested CSS codes worked on their site
Another user experienced the same issue with unsuccessful attempts
One user confirmed success after 2 weeks of trying different solutions
A follow-up question emerged about targeting individual h2 elements with different class names separately
The discussion remains partially unresolved, with conflicting results among users attempting the same CSS modifications.
Summarized with AI on October 31.
AI used: claude-sonnet-4-5-20250929.
Any idea how to do this for each specific heading? for example I got about four h2’s but with different class names so I want to change sizes for all seperately, thanks