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

  • Author
  • #211472
     asokaaso2
    Participant

    How can I remove the dynamic.css bug it returns 404 then return after few refresh. I can’t tell my visitors to refresh the site few times right?

    #211501
     Laura
    Moderator

    Hello, i am not sure what do you mean about dynamic css, can you explain a bit more?

    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 🙂

    #211604
     asokaaso2
    Participant

    dynamic.css the one that is generated on wp-uploads/custom_styles it gets deleted before the page is loaded so it breaks the site

    #211628
     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 🙂

    #211678
     Radu
    Moderator

    Hi,

    The dynamic.css file it’s generated when you . change from example something in theme options or in customizer not sure why that… i cannot reproduce that issue on my local end

    Try to use this snippet

    COPY CODE
    
    function sq_print_inline_css() {
    	add_action( 'wp_head', 'kleo_custom_head_css' );
    	remove_action( 'wp_enqueue_scripts', 'kleo_load_dynamic_css', 22 );
    }
    add_action('init', 'sq_print_inline_css');
    

    Add the code into child theme functions.php file.

    Let me know

    The snippet will add the css in head instead in the dynamic.css file

    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 ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?