Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Font – Icons
    B_Anders
    Participant

    I think I managed to load it locally by disabling sb_icon_css and loading through functions.php

    Is this the right way to load locally? I found various versions..

    add_action( 'wp_enqueue_scripts', 'custom_load_font_awesome' );
    /**
     * Enqueue Font Awesome.
     */
    function custom_load_font_awesome() {
    
        wp_enqueue_style( 'font-awesome-free', 'https://formybrand.com/fonts/fontawesome/css/all.min.css' );
    
    }

    Thank you for your time

Viewing 1 post (of 1 total)

Subscribe for updates

Get updates on the WordPress plugins, tips and tricks to enhance your WordPress experience. No spam. View newsletter