Support » Fixing WordPress » Changing Font type

  • How do you add code to change the overall font type?
    my site: bluecollarsommelier.com

    Would like to change to serif font.

Viewing 6 replies - 1 through 6 (of 6 total)
  • There’s this page: https://codex.wordpress.org/Playing_With_Fonts

    Also, the plug-in, Simple Custom CSS works for me. If using FireFox, you can use a developer plug-in to find the CSS reference you need to change the global font, but do it in a CHILD theme. Chile themes are discussed here: child theme and here: child themes adv.

    • This reply was modified 2 years, 8 months ago by CyberCobre.
    • This reply was modified 2 years, 8 months ago by CyberCobre. Reason: fixing links

    Thanks, just installed Simple Custom CSS and added this style:

    {font-family: Times, Times New Roman, serif;
    font-size: 1em;
    padding:0;
    margin:0; }

    clicked the update button but nothing changed on the page. What am I missing?

    Refresh your browser, and, if you have WP Super Cache installed, you’ll need to delete your cache.

    Don’t have WP Super Cache installed and cleared browser cache and still nothing.
    Is the code correct, what did I do wrong?

    No, your code isn’t correct. Sorry. I didn’t look at it last time I wandered in here. I was getting my husband to the doctor’s office. Okay, so you’ll need to define the global font, which depends on which theme you are using. The link I shared above about Playing with Fonts talks about that. To identify the global font, you’ll need to use a developer plugin in Chrome, IE, Safari, FireFox or whatever browser you’re using and find the correct class or id under which CSS section.

    I’m guessing it will be something like:

    body {font-family: [your font family choice];
    }

    Alternately, it might be:

    html { font-family: [insert your font-family choice];
    }

    Or it could be something else entirely.

    • This reply was modified 2 years, 8 months ago by CyberCobre.
    • This reply was modified 2 years, 8 months ago by CyberCobre. Reason: clarifications

    Yes, it needed

    body {font-family: Verdana, Helvetica, Arial, san-serif;
    font-size: 1.5em;
    padding:0;
    margin:0;}

    Decided san-serif is best for this. Thanks again. 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Changing Font type’ is closed to new replies.