Footer Reveal for Bricks
Footer Reveal keeps the footer still while the page content scrolls up and away to uncover it. You switch it on in the footer template, so there is nothing to add to the page.
Setting it up
- Open the footer template in Bricks, go to Template settings, Footer Reveal, and turn on Reveal this footer.
- Choose when it applies: at a Bricks breakpoint, always, or from a minimum width in pixels.
- Pick the page-edge shadow and, if the page needs it, an opaque page colour.
- Set the template conditions as normal.
Turning it off for one page
In Page settings, Footer Reveal, tick Off on this page or content template.
Safe fallbacks
The footer behaves normally below the chosen width, when it is taller than the screen, when the visitor prefers reduced motion and when JavaScript is off. Keyboard focus and footer anchors reveal its links.
Requirements
WordPress, PHP 8.1 or newer and Bricks. Built and tested on Bricks 2.4.3.