Bootstrap Sass in WordPress theme

0 replies
  • WEB DESIGN
  • |
Hi,

I'm integrating Bootstrap-Sass into a WordPress Underscores theme. CSS is compiled with Compass.

I've seen people using different approaches to this including retaining the Bootstrap core files as is and adding custom styling in various ways.

Some people compile to modify boostrap.css (or bootstrap.min.css) whilst others make modifications to either the theme's root style.css file or a compiled style.css file to override the core Bootstrap css.

In the Underscores root I have style.css with just the commented theme information as required for WordPress to recognize the theme. Then I am compiling a style.css file in /bootstrap/css from a style.scss file which imports all the partials including lastly a _custom.scss file.

The question is, if I am compiling the style.css file in this way from all the partials, is there any need to enqueue bootstrap.css or bootstrap.min.css?

Cheers,
Noel
#bootstrap #sass #theme #wordpress

Trending Topics