Building a Website Page - Footer

What is a Footer

As I'm sure you've guessed the webpage <footer> can be found at the foot / bottom of the page. You might see it as just a visual indicator that tells you when you've reached the bottom of the page, but it's where you'll find some important information too.

If you look around at a variety of websites you'll see that the footer can be the place to find all sorts of different information.

an outline drawing showing the header, main and footer areas of a website page

But lets narrow it down and briefly look at the main ones you should consider having there. Such as ‐

Headshot image of Cupcake Tom my website customer

Tom's Website

I've kept Tom's website footer quite simple. Splitting it into three main areas

screenshot of cupcake cat bakery's full footer in desktop and laptop view

Secondary Navigation - First footer area contains a second navigation menu, which includes links to the sitemap, policies and contact pages. Because the website won't be collecting any user information or be using cookies we won't have to include much on our policies page. So I've grouped these and the terms & conditions together on one page.

screenshot of cupcake cat bakery logo in the header

Social media links - Second footer area contains a row of icons that grow in size when a user either hovers or actively touches it. These icons link through to Fiddle and Fettles social media and GitHub accounts, a little confusing? Maybe but if Tom's Cupcake Cat Bakery was a real business then of course these icons would link through to his accounts.

screenshot of cupcake cat bakery logo in the header

Copyright - Third footer area contains the websites copyright statement which of course would say "Copyright © 2020 The Cupcake Cat Bakery etc..." if this had been a real business instead of a Fiddle and Fettle example website.

screenshot of cupcake cat bakery logo in the header

The picture above shows the footer as it will look on a laptop or desktop computer screen. Using CSS grid I have then styled the navigation and social areas to equally take 50% of the screen, then each set of links within these areas to be equally distributed in a row. The copyright is the centred along the very bottom of the page.

This layout will be fine on larger screens but in mobile we run the problem of the two link areas being crushed up and overlapping. Which won't look pretty or be usable as the clickable areas may overlap. So to make sure this doesn't happen I've made the mobile and tablet layout view like this picture below.

screenshot of cupcake cat bakery's full footer in mobile and tablet view

Here all three areas now span across the whole screen. Each areas contents are centred and the link items are equally spaced apart. Now our footer has a responsive layout with clear clickable areas for the links.

We've now reached the bottom of the webpage and unfortunately the end of this Webpage Guide.

If you have a question about anything in this guide why not send me a message and I'll do my best to answer you.

Want to make your own first website?

Then why not try with Jasmine Web Starter (JasmineWS) an opensource project I work on along with fellow York dev company JasmineDesign.

Learn to build your very own first basic website with JasmineWS templates on GitHub.

Each JasmineWS template contains a set of HTML and CSS files which with our step by step tutorial you will learn to transform into your first website, using nothing more than a web browser and a Free GitHub account.

GitHub allows you to store and work with your website and then publish it to the web all from your browser.

Jasmine Web Starter

Top of Page