This topic has 4 replies, 3 voices, and was last updated 6 years by Radu.

  • Author
  • #207812
     snakebyte99
    Participant

    Hi, would like to manage css myself, would like to remove it via my child functions.php

    Thanks

    #207840
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #207876
     Radu
    Moderator

    Hi,

    Check those snippets

    COPY CODE
    
    
    /* Deqeue the google fonts */
    function sq7r_deque_kleo_gogole_fonts() {
        wp_deregister_style('kleo-google-fonts', $google_link, array(), '', 'all' );
        wp_dequeue_style('kleo-google-fonts');
    }
    add_action('wp_enqueue_scripts', 'sq7r_deque_kleo_gogole_fonts',999);
    
    
    COPY CODE
    
    /* Deqeue the dynamic css file */
    function sq7r_deque_kleo_dynamic() {
    	wp_deregister_style( 'kleo-colors', trailingslashit( $kleo_config['custom_style_url'] ) . 'dynamic.css', array(), $version, 'all' );
    	wp_deenqueue_style( 'kleo-colors' );
    }
    add_action('wp_enqueue_scripts', 'sq7r_deque_kleo_dynamic',999);
    
    

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #209094
     snakebyte99
    Participant

    Hi, works perfectly thank you. Didn’t realise you replied found a different way to do what I want but this is much more reliable.

    #209198
     Radu
    Moderator

    Great
    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 5 posts - 1 through 5 (of 5 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?