Etch component

Subfooter 1

Bar at the bottom of a site footer: the copyright, then the legal links when there are any. It goes in the subfooter slot of Footer 1 or Footer 2; the legal links are a slot with sample content to replace.

Subfooter 1

Copy Subfooter 1

Configurator settings

Change a setting in the configurator to include it.

Optional. Copies the component under its own name, such as News Card Alpha for a site.

Documentation

The bar at the bottom of a footer: the copyright and the legal links. Put it in a footer's subfooter slot; Footer 1, Footer 2 and Footer 3 come with one.

How to use it

  • Copyright shows the year and the site's name by default.
  • The legal slot holds a list of links, such as the privacy policy. The pasted bar comes with a sample; with the slot empty, only the copyright shows.
  • Legal Label names the legal links for screen readers ("Legal" by default).

Good to know

  • It takes the footer's colors, and --mac-subfooter-1-link-hover sets the links' color on hover (Footer 1 sets it to its links' hover color).
  • --mac-subfooter-1-border sets the line above it, --mac-subfooter-1-padding-block its top and bottom padding, --mac-subfooter-1-gutter its side padding and --mac-subfooter-1-justify how the copyright and the links spread (space-between). Footer 2 sets them to center it without a line or padding.

Reference

Read from the component's JSON, so it's always current.

Loading the reference