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:
Open
products.html
in your editor.Find the ordered list just above the
h1
page title, add the"breadcrumb"
class to theol
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 refresh your browser. You should see the result shown in the following screenshot:
To customize the breadcrumbs for...