To use the CDN, create a sub-theme, and then go to Appearance and click on the Settings link for your theme. In the “Bootstrap Settings” area, click on Advanced and then “BootstrapCDN”. Select a version of Bootstrap and a Bootswatch theme. Then click on “Save configuration”.
How do I change my theme on Bootswatch?
Type grunt swatch:[theme] to build the CSS for a theme, e.g., grunt swatch:flatly for Flatly. Or type grunt swatch to build them all at once. You can run grunt to start a server, watch for any changes to the SASS files, and automatically build a theme and reload it on change.
How do bootstrap themes work?
- Install a theme’s dependencies from your command line via npm. …
- Run a “watch” or “build” command powered by Gulp, Grunt, or Webpack build tools. …
- Open your browser to your local server’s address (i.e. open Chrome to localhost:3000 )
- Edit source files and preview changes instantly with live reload.