WordPress Bootstrap Starter Theme
This theme has minimal styling, and serves as a blank slate for developers. The only assumption this themes makes is that you want to use Bootstrap. Use as little or as much of the framework as you see fit.
This theme uses WPGulp for "An advanced & extensively documented Gulp WordPress workflow".
To start developing your theme follow these instructions:
wpgulp.config.jsand edit the
npm iin the same directory as this theme.
Once these steps are complete, you only need to run
npm start moving forward.
assets/css/style.scssis the main stylesheet that contains all partials. This is compiled into
assets/css/bootstrapcontains the Bootstrap core
.scssfiles and should not be edited. Instead use
assets/css/base/_bootstrap_overrides.scssto override the default variables.
- Feel free to add additional partials to this theme.
assets/js/custom.min.js. By default the themes loads
bootstrap.jsis loaded. All files in this directory are compiled into
assets/js/vendor.min.js. By default the themes loads
- Place any images into
assets/img/raw. From there, they will be optimized and placed in
Overriding Bootstrap Variables
If you wish to override Bootstrap's default variables, do so by redeclaring those variables in
assets/css/bootstrap/_variables.scss as a reference for all existing variables, but DO NOT update this or any other file located in
Automatic Form Styling
Bootstrap does not style form elements be default. Instead, a developer must manually add the correct classes to each form element.
In an effort to streamline this process, this theme automatically styles all form elements by extending the
.btn class on these elements. These styles are located in
Base WordPress Styles
Some css classes are required by WordPress and therefore should be included in a WordPress theme. These, and other WordPress specific styles generated by Underscores are located in