Blayr
January 25, 2022, 9:28pm
1
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;
}
}
2 Likes
@Blayr
Navigate to Online Store->Theme->Edit code
Asset->/theme.css or theme.scss->paste below code at the bottom of the file.
Save it.
@media screen and (max-width: 600px) {
.h2, h2 {
font-size: 20px !important;
}
}
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.
Blayr
January 26, 2022, 6:50pm
5
This doesn’t seem to be working for some reason.
Blayr
January 28, 2022, 6:29pm
6
This didn’t work for some reason.
Blayr
January 28, 2022, 6:30pm
7
This doesn’t seem to be working.
Blayr
January 28, 2022, 6:31pm
8
This doesn’t work for my heading font.
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.
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