Override All CSS with Custom CSS on a Page by Page Basis


I have a 7-page static site I built with a page builder theme, child theme and some plugins. I would like to override all CSS (theme AND plugins) with custom CSS stylesheets on a page-by-page basis.

How can I do this? Can I accomplish this with functions.php and my child theme? Please be explicit in your answer — I’m still learning WordPress!

More info: If you’re curious, I used a handy tool — purifycss.online — to remove unused CSS and saved the CSS stylesheet for each page. I wold like to remove all other CSS and apply these to their proper pages. PurifyCSS links to a blog post that partially describes this process. However, the post describes how to assign each stylesheet to a page type, not a page. I tried to modify the method for my needs but failed.

typosruinjokes 1 year 2021-08-15T01:05:34-05:00 0 Answers 0 views 0

Leave an answer