changing fonts and font colours in posts

  • Unknown's avatar

    Hello,

    I would like to change the font and colour on my blog I have so far had to add styles to each paragraph, is there an easier way to do this?

    Cheers

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    You can do it with the CSS upgrade. The main font is declared for the body element.

    body {font-family:arial; color:#f00;}

  • Unknown's avatar
    beeniebudsandco · Member ·

    I do have the css upgrade, and I have some other css code in there, for other amendments I needed to make. What section should I paste this new code in.

    Cheers

  • Unknown's avatar

    CSS takes quite a few things into account when deciding which rules are applied. Try pasting it in after your current modifications. Later declarations take precedence. Be aware however that if you have other fonts specified with classes and IDs as selectors these will over-rule the code I just gave you.

  • Unknown's avatar
    beeniebudsandco · Member ·

    Here is the code that I have in my editor at the moment:

    #header {
    border-bottom:none;
    }

    #nav li a {
    color:#cfe8dd;
    }

    h1.pagetitle,h2.pagetitle {
    color:#f3cacd;
    }

    Should I just add the code beneath the h1 and after the second {

  • Unknown's avatar

    Just copy it in after what you already have. It should look something like this:

    #header {
    border-bottom:none;
    }
    
    #nav li a {
    color:#cfe8dd;
    }
    
    h1.pagetitle,h2.pagetitle {
    color:#f3cacd;
    }
    
    body {
    font-family:CHOICE-ONE,CHOICE-TWO,sans-serif;
    }

    Obviously, remember to use the names of some actual fonts and remember you can preview your changes to see if they look the way you expect before you save and apply them to your blog.

  • Unknown's avatar
    beeniebudsandco · Member ·

    Thank you Hallluke, your a star!

  • The topic ‘changing fonts and font colours in posts’ is closed to new replies.