Soledad theme inlines css in the page header (<style type="text/css"></style> tags). Is it possible to stop the theme from doing this? Either by using a 'remove_action' hook, theme customization or something similar?
I am inlining css through my own plugin, so I would like to remove multiple <style> tags in the header.
Hi,
Soledad theme inlines css in the page header (<style type="text/css"></style> tags). Is it possible to stop the theme from doing this? Either by using a 'remove_action' hook, theme customization or something similar?
I am inlining css through my own plugin, so I would like to remove multiple <style> tags in the header.
Thank you in advance!
Victor
Hi,
You can check option for it via Customize > General Options > Reduce DOM elements by load Custom CSS via CSS file.
But, you have another better way is use plugin "Autoptimize" and select "Optimize CSS" from that plugin - it will be better.
Best Regards,
PenciDesign
Hi,
Thank you a lot for the suggestion - it works!
Victor