Viewing 7 replies - 1 through 7 (of 7 total)
  • If it is a websafe font, add the following to your child theme’s style.css or to the style.css of the main theme.

    .logo p {
    font-family: ‘Cambria’, sans-serif;
    margin-top: 5px;
    color: #fff;
    }

    I placed ‘Cambria’ in where the original code had ‘Open Sans’

    So change the font name in the .logo p selector and add any additional changes you might need within the selector.

    Does that solve your problem? Let me know if it needs a bit more tuning, and advise further. Cheers!

    Hi,

    Did the above solution work for you.

    Thanks.

    Thread Starter designedbydave

    (@designedbydave)

    hi sorry that failed to work

    I had a similar problem. I solved it on my clients site by means of “Easy Google Fonts,” a free typography plugin that allows you to control the typography of individual elements and utilize web fonts in one package. I used the typography controls under appearance menu to customize a header tag that I only used for the tag line, and once styled as I wanted it, added the appropriate css selector to my style.css file.

    Basically I did a combination of using Chrome + CTRL+SHIFT+C (web dev tools) and Easy Google Fonts to figure out exactly what should go into my style.css file.
    That isn’t a direct answer, but it’s not horsefeathers at least!
    Best,
    [ Signature redacted ]

    Sorry about that I keep forgetting not to put a sig in

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    It’s all good. Thanks for helping out in the forums. ??

    Hello All,

    TO change the font you will need to first Enqueue a new Font-Family is this is to from the themes stylesheet.

    Then use the above CSS

    .logo p {font-family: “FAMILY-NAME“;}

    In your Custom CSS editor.

    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘font change’ is closed to new replies.