Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Bootstrap Site Blueprints
  • Table Of Contents Toc
  • Feedback & Rating feedback
Bootstrap Site Blueprints

Bootstrap Site Blueprints

4.2 (10)
close
close
Bootstrap Site Blueprints

Bootstrap Site Blueprints

4.2 (10)

Overview of this book

Table of Contents (16 chapters)
close
close
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">
     ...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY