Only load CSS required for the page

This topic contains 1 reply, has 2 voices, and was last updated by  Sebastian 2 months, 2 weeks ago.

Author Posts

lloydsilver

Is there any way, perhaps using Microthemer in conjunction with something else, to only load the CSS required for a specific page rather than all of the CSS?


Sebastian

Hey,

Unfortunately Microthemer doesn’t currently support this functionality. We may add an option for making folders page-specific in future. But for now, you would need to copy and Paste the CSS Microthemer generates to this plugin: https://wordpress.org/plugins/wp-add-custom-css/

If you use the copy and paste technique, I recommend disabling the selectors or folders, so you can continue to edit the CSS via Microthemer (if you so choose).

Cheers,
Sebastian

You must login or register to reply to this topic.