WordPress.org

Ready to get started?Download WordPress

Forums

Can't change font! (Pagelines "Platform" Theme) (10 posts)

  1. xroox
    Member
    Posted 3 years ago #

    Hi, as the title says I can't change the font!

    I have changed the font to helvetica in every part of the CSS I could find, and NONE of it has changed. Yes I am no guru, but surely I should have noticed some change. :)

    I have changed headers, title, I think all of the text but no results. It makes me feel like there is something else keeping it all in whatever font is the default (georgia I think).

    If anyone has had any luck with the free ver. of this theme and changing the fonts I would be much obliged for a leg-up.

    Thanks :)

    roo

  2. Provide a link to your site and it'll be much easier to help you. :-)

  3. xroox
    Member
    Posted 3 years ago #

  4. You need to have Helvetica listed first in your font stacks for it to be displayed by the browser. That's a very basic CSS principle of font specificity - the browser reads your fonts from left to right. For example, change:

    font-family: 'Droid Sans',"Lucida Grande","Helvetica",sans-serif;

    to

    font-family: Helvetica, "Droid Sans", "Lucida Grande", sans-serif;

    There are a few instances of this throughout your CSS.

    Also keep in mind that you don't need quotes around fonts that do not have spaces in their names.

  5. henriksigvardt
    Member
    Posted 2 years ago #

    Hi,

    I have the same problem: on the site http://www.rotaryidebank.dk I have been trying to change the font to "Helvetica Neue" but keep on getting the original Georgia. I have a child theme on the site.

    A little help, please? It's driving me crazy. Thanks,

  6. klo-wp
    Member
    Posted 2 years ago #

    henriksigvardt

    Go to theme editor > style.css and u should find this

    body, input, textarea {
    color: #666666;
    font-size: 12px;
    line-height: 18px;
    }

    and replace with this

    body, input, textarea {
    color: #666666;
    font-family: Helvetica Neue;
    font-size: 12px;
    line-height: 18px;
    }

    let me know if it worked.

  7. henriksigvardt
    Member
    Posted 2 years ago #

    Hi,

    Thanks so much for getting back so fast. Unfortunately, it does not work.

    The style.css now reads

    /*
    Theme Name: Twenty Ten Child
    Description: Child theme for 2010 theme for WordPress
    Author:
    Version: 1.0
    Template: twentyten
    */

    @import url("../twentyten/style.css");
    -------------------------------------------------------------- */

    /* =Fonts
    -------------------------------------------------------------- */
    body, input, textarea {
    color: #666666;
    font-family: Helvetica Neue;
    font-size: 12px;
    line-height: 18px;
    }

    But still no change. Any ideas?

    Thanks,

  8. henriksigvardt
    Member
    Posted 2 years ago #

    Just checked the buffer and It's working. Thanks a lot for helping!

  9. klo-wp
    Member
    Posted 2 years ago #

    after u add it on css, make sure you save.

    please tell me after u added that, so i can see it, the code.

  10. henriksigvardt
    Member
    Posted 2 years ago #

    Re: your mail

    I changed the parent style sheet to read:

    /* =Fonts
    -------------------------------------------------------------- */
    body,
    input,
    textarea,
    .page-title span,
    .pingback a.url {
    font-family: "Helvetica Neue", "Bitstream Charter", sans-serif;
    }

    This worked instantly. One thing I don't understand though is why this change did not come thorough when I made the change in the Child theme. Seems like the child style.css is not working. Anyway the site is fine now. Thanks again!

Topic Closed

This topic has been closed to new replies.

About this Topic