Fonts problem - by venturer1975 - on WordPress WooCommerce support

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

  • Avatar: venturer1975
    venturer1975
    Participant
    February 4, 2016 at 11:52

    Hello.

    Seems it loads other fonts or even with other weight and after some seconds loads the fonts we
    need as we define them in child theme functions.php file:

    function load_fonts() {
    wp_register_style(‘googleFonts’, ‘https://fonts.googleapis.com/css?family=Open+Sans:100,300,600,subset=greek,latin’);
    wp_enqueue_style( ‘googleFonts’);
    }
    add_action(‘wp_print_styles’, ‘load_fonts’);

    How can we fix that problem please?

    Thanks in advance

    1 Answer
    Avatar: Eva
    Eva Kemp
    Support staff
    February 5, 2016 at 09:54

    Hello,

    You need write font family in custom.css or in child style.css for the elements you need.
    Please clarify the issue with more details and how we can replicate it.

    Regards,
    Eva Kemp.

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

You must be logged in to reply to this topic.Log in/Sign up

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