Shopify themes, liquid, logos, and UX
I have read and tried SO many css codes on discussion to fix this, but none of it is working on my site for some reason.
My heading font size is giant on mobile and I need to reduce it throughout the website.
How do I do that? https://openrangeangus.com
Hi @Blayr
use add this css in theme.css file
@media screen and (max-width: 580px) {
.h2, h2 {
font-size: 20px !important;
}
}
1. Navigate to Online Store->Theme->Edit code
2. Asset->/theme.css or theme.scss->paste below code at the bottom of the file.
3. Save it.
@media screen and (max-width: 600px) {
.h2, h2 {
font-size: 20px !important;
}
}
This didn't work for some reason.
This doesn't work for my heading font.
thank you so much it took me 2 weeks to find this code everything else wasnt working. thank you!
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
Hello @Blayr
add this code to your “inspector-stylesheet” file.
Navigate to online store >> Click edit theme code.
Now find “inspector-stylesheet” and paste the following code:
@media (max-width: 768px){
span.site-nav--link-text {
font-size: 20px !important; }
}
Hope it helps.
This doesn't seem to be working.
Hi. I am having the same issue. I've tried all of the suggestions to edit ccs code but nothing is working. Please advise. Thank you.
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025