Dequeue Google Fonts - by candaceljoseph

This topic has 4 replies, 2 voices, and was last updated 9 years, 10 months ago ago by Eva Kemp

  • Avatar: candaceljoseph
    candaceljoseph
    Participant
    January 1, 2015 at 21:09

    I want to dequeue all Google fonts being brought into the Royal theme. I’ve tried specifying all fonts through the Theme Options panel but Roboto and Open Sans are still coming in and being used to style elements throughout the theme. I don’t wish to see these anywhere on the website. See for example, the price in the attached screenshot.

    https://dl.dropboxusercontent.com/u/21083811/Screen%20Shot%202015-01-01%20at%202.03.34%20PM.png

    Please tell me how to completely remove the Google fonts so I can use the ones I choose.

    Thanks!

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    January 1, 2015 at 21:39

    Hello,

    You can write your font in custom.css file for the elements you need, for example:

    .price {
        font: Aerial !important;
    }

    How to create custom.css you can watch in this tutorial (it’s for Legenda theme but the process is the same).

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: candaceljoseph
    candaceljoseph
    Participant
    January 1, 2015 at 21:54

    This isn’t a suitable answer for me. I shouldn’t have to go in and replace every single instance of Roboto with my own font through css. That will be a very tedious and time-consuming way to fix the issue.

    Where are the Google fonts being called in? I may be able to find a way to dequeue by adding some scripting to my child theme.

    Avatar: Eva
    Eva Kemp
    Support staff
    January 2, 2015 at 11:26

    Hello,

    You’ve been replied in other topic concerning your request.
    Please check.

    Thank you.
    Regards,
    Eva Kemp.

  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘Dequeue Google Fonts’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.