Forums

Changing the font on Pages (5 posts)

  1. leynicki
    Member
    Posted 5 months ago #

    Hello,

    I'm curious as to which .php or .css file I would have to edit in order to change the font that appears on all of my pages? It must be a universal change, no? If anyone has the key, please let me know! Any help would be greatly appreciated. Many thanks.

    Site: http://spectortraining.org

  2. Josh
    Member
    Posted 5 months ago #

    This is the css being used:

    body {
        font-family: Arial,Helvetica,Sans-serif;
        font-size: 13px;
    }

    You can change it to your liking, and then add it to the bottom of your child theme stylesheet.

  3. leynicki
    Member
    Posted 5 months ago #

    Hi Josh,

    Thank you so much for your time. I added that bit of code where it appeared appropriate in the style.css file. I changed the font from Arial to Century Gothic but unfortunately it would appear that it has not worked. Was I right in adding the code to the style.css file? I'm not familiar with what a child theme stylesheet is...

  4. Josh
    Member
    Posted 5 months ago #

    Yes, it will go in your style.css file. Did you try refreshing your browser and emptying any cache you may be using?

    Also, make sure the font is "web-safe", unless you want to import a particular font.

    http://www.ampsoft.net/webdesign-l/WindowsMacFonts.html

  5. leynicki
    Member
    Posted 5 months ago #

    It's working now -- I had put the bit of code in the wrong place. Thanks for your help! All the best.

Reply

You must log in to post.

About this Topic