• Resolved Marius

    (@mmichtus)


    hi, i have allready load fontawesome and lato font i don’t use, how can unload those without option to delete from your file.

    wp_enqueue_style($this->simple_job_board . '-bootstrap', 'https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css');
    wp_enqueue_style($this->simple_job_board . '-google-fonts', 'https://fonts.googleapis.com/css?family=Lato:400,400italic,700,700italic,900,900italic,300italic,300', array(), $this->version, 'all');
Viewing 1 replies (of 1 total)
  • Plugin Author PressTigers

    (@presstigers)

    Hello Marius,

    Place the following code in theme’s functions.php file:

    
    /**
     * Dequeue the CSS UI styles.
     */
    function sjb_dequeue_styles() {
        wp_dequeue_style( 'simple-job-board-bootstrap' );
        wp_dequeue_style( 'simple-job-board-google-fonts' );
    }
    
    add_action( 'wp_print_styles', 'sjb_dequeue_styles', 100 );
    

    Thank you for writing to us. Let us know if you need any further assistance.

    Thanks & Regards,
    PressTigers

Viewing 1 replies (of 1 total)
  • The topic ‘unload lato font and font awesome’ is closed to new replies.