Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1292772

    hello everybody,
    I’ve been looking and also trying for at least 4 hours to find a solution for my problem. I just need to remove/disable the the generated stylesheet. I suppose, I just need a code in the function file. please, can someone help me? this is really very important for me. thank you in advance.

    #1293161

    Hey ghirlandaio,

    What exactly are you looking to remove? If you remove the stylesheet generated by the theme, then it would lose all its styling. If you are looking to disable file compression, then you can do so under Enfold->Performance.

    Best regards,
    Rikard

    #1293179

    Hi Rikard, yes this is exactly what I was looking for. I tried this and unfortunately it doesn’t work:

    add_action(‘wp_enqueue_scripts’, ‘dequeue_function’);
    function dequeue_function() {
    wp_dequeue_style( array(‘avia-merged-styles’, ‘avia-merged-styles-css’) );
    wp_deregister_style( array(‘avia-merged-styles’, ‘avia-merged-styles-css’) );
    }

    using a different stylesheet, the dequeue works perfectly.

    thanks

    edit:

    Hi Rikard,
    what I was looking for is an idiocy. forget it. sorry and thank you for your time. topic closed.

    • This reply was modified 3 years, 12 months ago by ghirlandaio.
    #1293356

    Hi ghirlandaio,

    No worries :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘disable the generated css stylesheet (dynamic_avia)’ is closed to new replies.