Load autoptimize CSS after bootstrap
-
I am loading bootstrap css before my theme css (custom).
wp_enqueue_style( ‘bootstrap’ );
wp_enqueue_style( ‘custom’ );The bootstrap is loaded via CDNJS – https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/css/bootstrap.min.css
When I enabled Optimize CSS Code,
My minified CSS code is inserted before the bootstrap CSS, which breaks my site – as some of the theme styles has been superseded by bootstrap default styles.
Is there any option to choose to insert minified CSS as the last CSS instead of the first?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Load autoptimize CSS after bootstrap’ is closed to new replies.