Book Image

Bootstrap Site Blueprints

Book Image

Bootstrap Site Blueprints

Overview of this book

Table of Contents (16 chapters)
Bootstrap Site Blueprints
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Laying out a complex footer


In the following steps, we'll create a complex footer built to manage multiple goals, including these: three lists of links to key sections of our website, a bit of About Us text, social icons, and our logo.

Setting up the markup

We will start by creating the footer markup. We want this footer to be as functional and useful for the user as possible. We'll build the markup as follows:

  1. Find the file footer-content.html in the project folder 04_Code_BEGIN. Open it in your editor, and copy the entire content to the clipboard.

  2. Now, back in index.html, find the place where we want to paste this content. It's within footer role="contentinfo", just after div class="container" and before ul class="social". (I've placed a comment there to help you find the spot.)

  3. Before pasting the content, let's prepare to utilize the Bootstrap grid system. To do this, we'll wrap the area within div class="row", as follows:

    <footer role="contentinfo">
      <div class="container">
     ...