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.
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
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.
Hi ghirlandaio,
No worries :)
Thanks for using Enfold and have a great day!
Best regards,
Nikko