Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Bootstrap Site Blueprints Volume II

You're reading from  Bootstrap Site Blueprints Volume II

Product type Book
Published in Jan 2016
Publisher Packt
ISBN-13 9781785281099
Pages 328 pages
Edition 1st Edition
Languages
Author (1):
Matt Lambert Matt Lambert
Profile icon Matt Lambert

The About page


The next page for our restaurant website is the About page. This page will feature a two-column layout and some custom text styles to give it a unique look. Here's a screenshot of what we'll be building:

Changing the feature image

The first thing that we need to do is create a new file called about.ejs. Next, we'll change the feature image as displayed in the preceding screenshot. To do this, we'll simply update this image line of code:

<img src="img/banner-about.jpg" width="1170" height="500" alt="Public Restaurant About Banner">

Make sure you update the alt text to optimize your image for search results. The next thing we need to do is set up our two-column layout. I'm going to wrap a <div> with a class of .page-body around the row, as we've done in the past:

<div class="page-body">

This will allow us to apply some padding around our main page body:

.page-body {
  padding: (@padding * 4);
}

I do this to add some whitespace and give the layout room to breathe.

Setting...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}