Jump to content


Photo
- - - - -

Font Sizes


This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1 arlomiller†

arlomiller

    Super Member

  • DMS Subscriber†
  • 100 posts

Posted 04 January 2013 - 01:05 AM

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


#2 James B†

James B

    Advocate

  • DMS Subscriber†
  • 5126 posts

Posted 04 January 2013 - 01:22 AM

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.



#3 arlomiller†

arlomiller

    Super Member

  • DMS Subscriber†
  • 100 posts

Posted 04 January 2013 - 02:22 PM

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?



#4 catrina

catrina

    Advocate

  • Members
  • 12345 posts

Posted 04 January 2013 - 04:24 PM

I prefer to use percent, personally, for the reasons displayed here:

Please Login or Register to see this Hidden Content