WordPress.org

Support

Support » How-To and Troubleshooting » how to change the font

how to change the font

  • Hi,

    I just need to change the font to century gothic -> i am not to sure if there are supposed to be an underscore or a hyphen or just one single work…but i edited the style.css and made the below change

    body {
    background: url(images/default.jpg) no-repeat 0 0 #fff;
    background-attachment:fixed;
    background-position: bottom center;
    color: #000;
    font-family:century gothic;
    margin: 0;
    padding: 0;

    There was a space where it said font-family: century gothic like mentioned here.

    Just hoping someone would know how to change the font of the entire website to that font -> in everywhere…your page names, and the font in your posts and pages.

    Thanks

    Lionel

Viewing 4 replies - 1 through 4 (of 4 total)
  • put the font-family in quotes, and you should always have fallbacks. like so:
    font-family:"Century Gothic", Arial, sans-serif;

    Thanks Mitchell,

    I made the change…what is the quotation marks for? To make it more prominent or something.

    I think it must have been working when i made the previous change…but the change from the normal font Arial to Century Gothic was very minor on the web page…looks so much different in Word.

    Also how would you make all the text in that font? Because when I made the change, only the page title inside the page changed to that specific text. Not the font in the page or at the top where you click on the page title you want to visit…ie: Home, gallery, contact me and the like.

    Sorry to be a pain…just trying to get this figured out.

    You can check the website and see what im talking about if you like.

    http://www.doodledesigns.co.za/

    Thanks for your help.

    The quotation marks are to make sure that the space is included as part of the font name.
    I’d recommend reading up on your basic CSS. http://www.w3.org/TR/CSS2/fonts.html#font-family-prop

    Hey Thanks Mitchell…going to read it now!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘how to change the font’ is closed to new replies.
Skip to toolbar