WordPress.org

Forums

how to change the font (5 posts)

  1. leo2099
    Member
    Posted 3 years ago #

    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

  2. Mitchell Bundy
    Member
    Posted 3 years ago #

    put the font-family in quotes, and you should always have fallbacks. like so:
    font-family:"Century Gothic", Arial, sans-serif;

  3. leo2099
    Member
    Posted 3 years ago #

    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.

  4. Mitchell Bundy
    Member
    Posted 3 years ago #

    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

  5. leo2099
    Member
    Posted 3 years ago #

    Hey Thanks Mitchell...going to read it now!!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.