Skip to content

Footer with Link Columns

Bootstrap 6 footer with a CTA band, logo and tagline, four link columns that collapse into accordions on mobile, a language Menu, social icons and copyright.

Also known as: website footer with columns, footer link columns, multi column footer, footer with language selector

Bootstrap 6 Footers Responsive #footer #links #menu #responsive #social

Footer with Link Columns live demo

Open in new tab

Bootstrap 6 code (HTML, CSS, JS)

A light, warm website footer built with Bootstrap 6. A dark call-to-action band sits above a logo with a tagline and status pill, four link columns, and a bottom bar with copyright, legal links, a language picker and social icons. On phones the link columns fold into accordions.

How it works

The root .flc-footer is a <footer> with a visually hidden heading. .flc-cta is a flex band with a btn-solid theme-primary button recolored to sand yellow through its --bs-theme-bg token. .flc-top is a CSS grid. On screens from 768 px the brand block takes one column and .flc-cols shows four equal columns. Below that, everything stacks.

Each link column is a native <details class="flc-col"> with a summary.flc-col-title. The HTML ships with open on every column, so all links show even without JavaScript. script.js (an ES module) uses matchMedia('(min-width: 768px)') to keep the columns open on wide screens and closed on phones. On wide screens the summary is taken out of the tab order and its click is ignored, so it acts as a plain heading. The chevron is a CSS ::after that rotates when a column opens.

The language picker uses the Bootstrap 6 Menu: a button with data-bs-toggle="menu" and data-bs-placement="top-end" followed by a flat .menu with a menu-header and menu-item buttons. Clicking an item moves the active class and aria-current, updates .flc-lang-label and stores the code in data-flc-current-lang on the root. The year in .flc-year is filled from new Date(), so the copyright never goes out of date. Social links are btn-icon btn-text theme-secondary buttons with Bootstrap Icons.

Customization

  • --flc-bg, --flc-ink, --flc-muted and --flc-line on .flc-footer: change the background, text and divider colors.
  • --flc-accent: recolors the logo, link hover, focus ring and the Bootstrap primary role used inside the footer.
  • Remove the whole .flc-cta block if your page already ends with a call to action.
  • Add a fifth details.flc-col and change repeat(4, …) in .flc-cols to repeat(5, …).
  • Edit the data-flc-lang values and redirect in the item click handler (location.href = '/' + code + '/') to switch locales.
  • Replace the .flc-hiring pill or the badge badge-subtle theme-success "New" badge with your own labels, or delete them.

Use cases

  • Company websites: four link columns, a logo with tagline and a status pill organize the footer
  • Marketing sites: a call-to-action band above the links encourages one last click
  • Multilingual sites: a language menu sits in the bottom bar beside social icons
  • Mobile visitors: the link columns fold into accordions on phones

Accessibility

The column links sit inside a nav labelled "Footer", and the social list has its own label. Every icon link has an aria-label that names the network. On phones the <details>/<summary> accordions are keyboard operable with Enter and Space. The Menu supports arrow keys and Escape, and Bootstrap keeps aria-expanded in sync on its toggle. All links have a visible teal focus outline, and the chevron rotation is turned off under prefers-reduced-motion.

Bootstrap 6 notes

Bootstrap 5's dropdown/dropup with dropdown-menu becomes a toggle plus a sibling .menu, positioned with data-bs-placement="top-end". Buttons use btn-solid, btn-outline and btn-icon btn-text with theme-* roles instead of btn-primary and btn-outline-secondary. Badges use badge-subtle theme-success instead of text-bg-success. Built on 6.0.0-alpha.1, so APIs can still change. Icons come from Bootstrap Icons.

Footer with Link Columns at a glance

Framework
Bootstrap 6
Code
HTML, CSS, JavaScript
JavaScript
Vanilla JavaScript, no jQuery
Dependencies
Bootstrap 6, Bootstrap Icons
Layout
Responsive, works on mobile
Category
Footers
License
Free for personal and commercial use

Questions about this template

Can I use the Footer with Link Columns code for free?

Yes. You can copy or download the code and use it in personal and commercial projects, including client work. No sign-up is needed. Reselling it as part of a component library or template collection is not allowed; see the license.

How do I add it to my website?

Load Bootstrap 6 and Bootstrap Icons from a CDN (the links are under Requirements). Paste the HTML where the component should appear, add the CSS to your stylesheet and load the JavaScript before the closing </body> tag. Download HTML gives you a complete page with everything already linked.

Does it need jQuery or a JavaScript framework?

No. The script is plain vanilla JavaScript, so it works without jQuery, React or Vue. You can still use the markup inside those frameworks.

Does it work on mobile?

Yes. The layout adapts to small screens. Use the Mobile and Tablet buttons above the live demo to check it at phone and tablet width.

Requirements

Add these to your page (already included in the download):

  • <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@6.0.0-alpha.1/dist/css/bootstrap.min.css">
  • <script type="module" src="https://cdn.jsdelivr.net/npm/bootstrap@6.0.0-alpha.1/dist/js/bootstrap.bundle.min.js"></script>
  • <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">

Built for Bootstrap 6.0.0-alpha.1. Bootstrap 6 ships as an ES module, so its script and this component's JavaScript load with type="module". Alpha releases can still change before the stable version.

Footer with Link Columns – Bootstrap 6 footers component screenshot
Footer with Link Columns · Bootstrap 6 Footers

More Footers

Simple Centered Footer – Pure CSS footers preview

Simple Centered Footer

Minimal centered footer in pure CSS with a logo, tagline, links with animated underlines, round icon links and an auto-updating copyright year.

Dark Footer with App Badges – Tailwind CSS footers preview

Dark Footer with App Badges

Dark Tailwind CSS footer with four link columns, App Store and Google Play badges, and a language select that remembers the choice.

Footer with Newsletter – Bootstrap 5 footers preview

Footer with Newsletter

Dark Bootstrap 5 footer with a newsletter signup panel, email validation, social icons, three link columns and a legal bar.

Multi-Column Footer – Tailwind CSS footers preview

Multi-Column Footer

Dark Tailwind CSS website footer with brand block, social icons, four labelled link columns and a bottom bar with copyright and status.