Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #2547484
Removing Inlined CSS in header
Closed

Comments

  • flvictorkapustin started the conversation

    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

  •  2,699
    PenciDesign replied

    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 replied

    Hi,


    Thank you a lot for the suggestion - it works!


    Victor