Back to Footer & BigFooter
Footer

Footer Design 8

Beautiful Bootstrap footer block — copy & paste ready.

#bootstrap#footer

Live preview

Source code

html
<footer class="py-4 bg-light border-top">
  <div class="container text-center"><a href="#" class="me-3 text-secondary"><i class="bi bi-facebook"></i></a><a href="#" class="me-3 text-secondary"><i class="bi bi-twitter"></i></a><a href="#" class="me-3 text-secondary"><i class="bi bi-instagram"></i></a><a href="#" class="text-secondary"><i class="bi bi-youtube"></i></a>
    <div class="small text-secondary mt-3">© 2025 Brand. All rights reserved.</div>
  </div>
</footer>
How to use this footer

Add it to your project in three steps

  1. Copy the HTML from the Source code tab above and paste it inside your <div class="container"> wrapper.
  2. Make sure the Bootstrap 5 CDN CSS and JS are linked in your <head> and before </body>. Any CodeShikhi component assumes Bootstrap 5.3+ is already loaded.
  3. Swap the placeholder text, links, and images for your own content — the layout, spacing, and responsive behaviour stay intact.

The Footer Design 8 block is fully responsive and works on every screen from 320 px phones to 1440 px+ desktops without additional CSS.

Accessibility checklist

Ship it accessible by default

  • Use semantic HTML landmarks — <header>, <nav>, <main>, <footer> — so screen readers can navigate your page.
  • Give every image an alt attribute (empty alt="" if it's decorative).
  • Label icon-only buttons with aria-label and keep focus outlines visible.
  • Maintain a contrast ratio of at least 4.5:1 for body text against its background.
  • Test the footer with Tab / Shift+Tab and Enter — every interactive element should be reachable.
Step-by-step customisation

Make it match your brand

  1. Change the colour palette by overriding Bootstrap CSS variables: --bs-primary, --bs-body-bg.
  2. Adjust spacing with utility classes such as py-5, gap-4, and mt-lg-5 — no custom CSS required.
  3. Swap the typography by loading a Google Font in your <head> and setting --bs-body-font-family.
  4. Replace stock images with brand assets. Keep dimensions similar to avoid layout shift.
  5. Preview at multiple breakpoints (mobile, tablet, desktop) and tweak column spans if content wraps awkwardly.

Need the full theory? Read our Bootstrap 5 Technical Introduction Guide for grid, breakpoints, and Sass customisation in depth.

About the Footer Design 8 footer

This footer is part of the free CodeShikhi (কোড শিখি) Bootstrap 5 library — a growing collection of copy-paste website building blocks curated for learners and freelance developers. Every block is written in clean, semantic HTML with Bootstrap utility classes, keeps custom CSS to the minimum needed, and works without any build step. Use it as a starting point and adapt the markup, colours, and content to fit your project's brand and audience.

If you spot a bug, want a new variation, or would like to contribute an improvement, reach us via the contact page — we ship updates weekly based on community feedback.

Detailed Technical Breakdown

Detailed Technical Breakdown: Footer Design 8

Browser compatibility & standards

The Footer Design 8 footer is authored against Bootstrap 5.3, which drops legacy Internet Explorer support and targets modern evergreen engines — Chrome, Edge, Firefox, Safari, and all Chromium-based mobile browsers. Because the markup relies exclusively on the standard CSS features that ship with Bootstrap (Flexbox, CSS Grid, CSS custom properties, and the responsive breakpoint system), you can safely deploy this footer to any browser released in the last five years without polyfills. If you need to support very old WebKit or Samsung Internet builds, load the standard Bootstrap 5 CSS from the official jsDelivr CDN — the bundled autoprefixer output already covers those vendor prefixes.

Performance impact

Performance-wise this block is intentionally light. The HTML payload for a typical Bootstrap footer is under 4 KB gzipped, and it shares the same Bootstrap CSS/JS bundle you are already loading — meaning the marginal cost of adding it to a page is effectively zero KB on repeat visits. There is no JavaScript framework runtime, no hydration cost, and no client-side data fetching. The only images referenced are placeholders you will replace with your own assets; when you do, serve them as WebP or AVIF, add explicit width and height attributes to prevent layout shift (CLS), and lazy-load anything below the fold with loading="lazy". These small changes typically move Lighthouse Performance scores from the mid-80s into the 95+ range on both mobile and desktop.

Utility classes used

The footer leans on Bootstrap's utility-first classes to stay declarative: spacing utilities (p-*, m-*, gap-*), the flex helpers (d-flex, align-items-*, justify-content-*), the grid system (container, row, col-lg-*), typography helpers (display-*, lead, text-*), and colour utilities that resolve to Bootstrap CSS variables such as --bs-primary, --bs-body-bg, and --bs-border-color. Because everything is expressed as utilities you can re-theme the entire footer by overriding a handful of CSS variables at the :root level — no Sass recompile required.

Exact customisation steps

  1. Copy the source HTML from the tab above and paste it inside your <body>. The outer <div class="container"> wrapper is already included so the footer sits on the Bootstrap grid.
  2. Replace the placeholder headings and paragraphs with your own copy. Keep heading levels in order (h1h2h3) so screen readers and search engines can parse the document outline.
  3. Swap any <img> tags for your brand assets. Match the original aspect ratio to avoid layout shift, and always fill in a meaningful alt attribute.
  4. Retune the palette by overriding CSS variables::root { --bs-primary: #4f46e5; --bs-body-bg: #ffffff; }. All utility colour classes update automatically.
  5. Test at each Bootstrap breakpoint — sm (576 px), md (768 px),lg (992 px), xl (1200 px), xxl (1400 px) — using your browser's device toolbar, and tweak column spans if long content wraps.
  6. Ship it with the standard Bootstrap 5 CDN in the <head> and the JS bundle before the closing </body>. No build step required.
Technical & Performance Integration Guide

Technical & Performance Integration Guide — Footer Design 8 (footer)

When and why to use this footer

The footer is the site's secondary navigation layer and a genuine ranking factor: it is where crawlers find legal pages, sitemap links, contact details and social profiles. A well-structured footer also reduces bounce by giving visitors somewhere to go when they reach the end of the page.

Accessibility & ARIA attributes

Render it as a real <footer> element (an implicit contentinfo landmark) and give each link column its own <nav> with a descriptive aria-label such as "Legal" or "Resources". Headings inside the footer should be <h2> so the document outline stays valid. Social icon links need visible text or an aria-label naming the network, plus rel="me noopener noreferrer" on external profiles — the rel="me" hint helps search engines and AI crawlers confirm profile ownership.

Performance notes for this pattern

The footer is the last thing painted, so it is the safest place for third-party embeds — a newsletter form, a map, a chat widget. Load those with loading="lazy" on the iframe or behind an IntersectionObserver so they never compete with the hero for bandwidth. Keep icons as inline SVG; a footer that pulls a whole icon font just for six brand glyphs wastes bandwidth on every page view.

Three customisation tricks

  • Use .row-cols-2 .row-cols-md-4 so the link columns stack in pairs on phones instead of one long list.
  • Add .border-top .pt-4 .mt-4 above the copyright line for a clean divider without extra markup.
  • Set the year with a tiny inline script or server render so the copyright never goes stale.

Mistakes to avoid

  • Linking to pages that don't exist yet — dead links are an explicit AdSense quality problem.
  • Repeating the footer inside a full-page template that already includes one.

More designs in this section