Book Image

Bootstrap 4 Site Blueprints - Second Edition

By : Ian Whitney, David Cochran
Book Image

Bootstrap 4 Site Blueprints - Second Edition

By: Ian Whitney, David Cochran

Overview of this book

Packed with trade secrets, this second edition is your one-stop solution to creating websites that will provide the best experience for your users. We cover six popular, real-world examples, where each project teaches you about the various functionalities of Bootstrap 4 and their implementation. The book starts off by getting you up and running with the new features of Bootstrap 4 before gradually moving on to customizing your blog with Bootstrap and SASS, building a portfolio site, and turning it into a WordPress theme. In the process, you will learn to recompile Bootstrap files using SASS, design a user interface, and integrate JavaScript plugins. Towards the end of the book, you will also be introduced to integrating Bootstrap 4 with popular application frameworks such as Angular 2, Ruby on Rails, and React.
Table of Contents (15 chapters)
Bootstrap 4 Site Blueprints
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface

Summary


In the chapter, you could see that we could easily reuse the SCSS from Chapter 3, Customizing Your Blog with Bootstrap and Sass, by using a WordPress Bootstrap theme which turns WordPress' HTML code into standard Bootstrap code. Both the SCSS code and the JBST theme use and reuse Bootstrap's predefined CSS classes whenever possible. This strategy enables us to write clear code which can be easily reused.

In this chapter, we've built a custom WordPress theme with Bootstrap. Because we began with the excellent JBST 4 theme as our starter theme, we did not have to build from scratch. We asserted control over the markup structure by customizing the template files and created some custom template files. After that we styled buttons and comments using Bootstrap's styles.

And finally we integrated Bootstrap's carousel component to create an image slider on our front page and build an off-canvas menu and masonry grid layout for the theme.

Congratulations! That's quite an accomplishment.

The...