Header Font Size and Media Queries
-
Hi, I intend to use Pureblog for long term as it answers to the simplicity that I am looking into for a template. I would first like to say Thank you.
One major challenge I have been resolving for almost 3 weeks now is the header font-sizes for the .site-title and .site-description.
Basically, I am using CSS to override the font family for the header and description. It was working well, however, I could not reduce the size even if I use different media queries or the default resolution. It seems that the “font-size” parameter on my custom CSS doesn’t take effect. Only the “font-family” does.
The reason why I think the “Pureblog CSS” is the culprit is that if I tick “Don’t use the theme’s original CSS”, my font-size takes effect, but likewise, the rest has to be recreated
Here’s just a sample CSS I have.
/* Computer screens */ .site-title { font-family: 'Rock Salt', Poppins; font-size: 20px; } .site-description { font-family: 'Special Elite', Open Sans; } /* Smartphones (portrait) ----------- */ @media only screen and (max-width : 320px) { .site-title { font-family: 'Rock Salt', Poppins; font-size: 12px; } }
Appreciate your help.
The page I need help with: [log in to see the link]
- The topic ‘Header Font Size and Media Queries’ is closed to new replies.