Change font size of header tags in Evolve
-
Hi,
As I don’t like the font size of the h2 and h3 tags on my website (Interieurtips), I tried to change it. I tried it with both style.css and custom css, but nothing seems to work properly (or at least not with the way I’m doing it).
style.css was like this:
h2 { font-size: 40px !important; line-height: 40px; padding: 5px 0px;letter-spacing:-1px; }
h3 { font-size: 34px; line-height: 34px; padding: 5px 0px;letter-spacing:-1px; }
h4 { font-size: 27px; line-height: 27px; padding: 5px 0px;letter-spacing:-1px; }
h5 { font-size: 20px; line-height: 20px; padding: 5px 0px; }
h6 { font-size: 14px; line-height: 18px; padding: 5px 0px; }I changed it into:
h2 { font-size: 20px; line-height: 20px; padding: 5px 0px;letter-spacing:-1px; }
h3 { font-size: 16px; line-height: 16px; padding: 5px 0px;letter-spacing:-1px; }
h4 { font-size: 12px; line-height: 12px; padding: 5px 0px;letter-spacing:-1px; }
h5 { font-size: 11px; line-height: 11px; padding: 5px 0px; }
h6 { font-size: 10px; line-height: 10px; padding: 5px 0px; }Now everything seems to be messed up. Chrome keeps showing huge h2 tags, while Internet Explorer shows H2 tags in a smaller size than H3 tags (as you can see on this post). Firefox also doesn’t seem to understand one bit of what I’m trying to do here.
Adding
h2 { font-size: 20px;
}
h3 { font-size: 16px;
} to custom css doesn’t help either.Does anyone know what I’m doing wrong? I really can’t figure it out. It must be something obvious, but I can’t see it.
I hope someone knows the answer to my question. Thanks!
- The topic ‘Change font size of header tags in Evolve’ is closed to new replies.