Jump to content
arlomiller

Font Sizes

Recommended Posts

arlomiller    7
arlomiller

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
James B    436
James B

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.


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
arlomiller    7
arlomiller

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×