Styling the breadcrumbs, page title, and pagination

In the following steps, we'll apply Bootstrap styles to our breadcrumbs, page title, and pagination, and then customize them to fit our design:

  1. Open products.html in your editor.
  2. Find the ordered list just above the h1 page title, add the "breadcrumb" class to the ol tag, and then add the "active" class to the last list item, as follows:
        <ol class="breadcrumb"> 
          <li class="breadcrumb-item"><a href="/">Home</a></li> 
          <li class="breadcrumb-item"><a href="#">Parent Category</a></li> 
          <li class="breadcrumb-item active">Current Category</li> 
        </ol> 
     
    

    These classes correspond with Bootstrap breadcrumb styles, which you will find documented at http://v4-alpha.getbootstrap.com/components/breadcrumb/.

    Save and ...

Get Complete Bootstrap: Responsive Web Development with Bootstrap 4 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.