Home Forums Blocker WordPress Theme How to use other fonts instead of Google fonts?

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  SeaTheme 3 years, 10 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #10220

    Lorindale
    Participant
    Purchased

    Dear Support,

    I love the theme you designed very much.
    However, I am having a little trouble with the loading speed.
    I noticed that the theme is loading font from google.
    Could you please teach me how to stop loading font from Google?

    Also, I’m interested in removing the top WordPress menu as well.
    Thank you!

    • This topic was modified 3 years, 10 months ago by  Lorindale.
    #10226

    SeaTheme
    Keymaster
    Purchased

    Hi, thank you for purchasing our theme

    Could you please teach me how to stop loading font from Google?

    It needs to change a template file, but when the theme is updated, this file will be overridden.
    So I suggest you use child theme, add the code into functions.php of child theme folder(here).

    function blocker_front_enqueue_scripts_child(){
    	if(wp_style_is('blocker-googlefont-alike', 'enqueued')){
    		wp_dequeue_style('blocker-googlefont-alike');
    	}
    	if(wp_style_is('blocker-googlefont-courgette', 'enqueued')){
    		wp_dequeue_style('blocker-googlefont-courgette');
    	}
    	if(wp_style_is('blocker-googlefont-oxygen', 'enqueued')){
    		wp_dequeue_style('blocker-googlefont-oxygen');
    	}
    }
    add_action('wp_enqueue_scripts', 'blocker_front_enqueue_scripts_child',102);

    Also, I’m interested in removing the top WordPress menu as well.

    try to use plugin: https://wordpress.org/plugins/global-admin-bar-hide-or-remove/

    Cheers!
    Bwsm – uiueux.com
    Twitter Facebook

    #10229

    SeaTheme
    Keymaster
    Purchased

    FW:
    A tip — for the the loading speed, please make images optimization before upload them.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Join Newsletter(FREE)

Subscribe to our newsletter to receive news & updates. We promise to not spam you, super promise!