Archived

This topic is now archived and is closed to further replies.

  • 0

Font Sizes

Question

Posted · Report post

I've inserted this into the style.css to control fonts sizes:

 

h1 {
font-size: 1.7em;
color: #7f8d48;}
 
h2 {
font-size: 1.7em;}
 
h3 {
font-size: 1.5em;}
 
h4 {
font-size: 1.3em;}
 
h5 {
font-size: 1.3em; font-weight:300;}
 
look reasonable?  is it better to use em, px, or percent?
 
Thanks

Share this post


Link to post
Share on other sites

3 answers to this question

Posted · Report post

Hi there,

 

If you adding custom code are you adding it to Pagelines>site options>custom code or to the style.css inside the base theme or the customise plugin. We don't advise you enter or amend any core files as they will be wiped on update.

 

Using em in the css is ok.

Share this post


Link to post
Share on other sites

Posted · Report post

Its all been put in the style.css.  

 

my question is whether there is any preference regarding using em, px, or percent for fonts.  in particular, have you found that one spec vs another functions better for the responsiveness of the thee?

Share this post


Link to post
Share on other sites