Optimal way to use CSS framework with Genesis


I am buiding a site with Genesis framework “sample theme” and I also want to use Bootstrap 4 components, rather than queueing the whole CSS and JS files in additiopn to sample theme’s, is there a better more practical way to integrate 3rd party CSS frameworks such as BS4 or Material Lite?

If I just queue the scripts, my final css file ends up with lots of styles from both sample theme and BS4 some of which will never be used.

I know Genesis hooks and filters use classes like “.site-inner” and “.content” so I was wondering if there is a more practical and neat way to accomplish this.


, , yucelm 4 years 2020-02-10T08:39:09-05:00 0 Answers 63 views 0

Leave an answer