Putting navigation at bottom

There are several advantages by putting the navigation at the bottom.

  1. There is one copy of the navigation. One copy mean no repeat on the HTML means a little bit faster. And easier to manage.

  2. No javascript, no even css, required. This method is supported by HTML natively because it is just anchor hash link. We don't even need css and javascript make it works.

  3. The menu is revealed after clicking the menu button, anyway. Whether we hide the navigation on the left slide-in pane, at the top or at the bottom. Its the same that we hide the navigation at the beginning and reveal the links after clicking the button.

  4. Ensuring we have some links at the footer. Having links at the footer allows reader to have something to navigate after finish reading your page.

 1<header id='top'>
 2  <h1>Demo on footer navigation strategy</h1>
 3</header>
 4<nav>
 5  <ul class='small-block-grid-4 hide-for-small-only'>
 6    <li><a href='#'>Home</a></li>
 7    <li><a href='#'>About</a></li>
 8    <li><a href='#'>Works</a></li>
 9    <li><a href='#'>Contact</a></li>
10  </ul>
11  <p class='show-for-small-only'><a href='#footer-nav'>Menu</a></p>
12</nav>
13<article>
14  <p>A long text here.</p>
15</article>
16<footer>
17  <nav id='footer-nav'>
18    <ul>
19      <li><a href='#top'>Top</a></li>
20      <li><a href='#'>Home</a></li>
21      <li><a href='#'>About</a></li>
22      <li><a href='#'>Works</a></li>
23      <li><a href='#'>Contact</a></li>
24    </ul>
25  </nav>
26</footer>
27

Exercise time

Exercise: follow the code snippet above. Modify the navigation to make it work in small screen.

What’s next? We’re going to take a look at “Building our own grid system”.

overlaied image when clicked on thumbnail

Makzan | Mobile web design | Table of Content