Skip to content
Public Ticket #14224

Removing Inlined CSS in header

Conversation thread

flvictorkapustin replied

Customer Reply

Hi,

Thank you a lot for the suggestion - it works!

Victor

PenciDesign replied

Staff Reply

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

flvictorkapustin started the conversation

Conversation Start

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

Want to join this conversation or access attachments? Sign in first.