Sticky Headers and Floating Buttons: Help or Hindrance?

Conversion & UX2 min readBy the Monopage team

Keeping navigation or a main button always on screen can make it easier to act. But fixed elements take up space, can cover content, and cause accessibility issues. Whether they help depends on how they are built.

Sticky headers

A sticky header stays visible as the user scrolls.

Benefits:

Drawbacks:

  • It reduces the visible area, especially on phones and in landscape orientation
  • It can cover content, anchors, and focused elements
  • It can feel intrusive if it is large

Making it better

  1. Keep it slim. Shrink the header when scrolling, or hide it on scroll down and show it on scroll up.
  2. Account for it in anchor links. Add scroll-margin or scroll-padding so headings are not hidden under the header.
  3. Protect keyboard focus. WCAG 2.2 includes Focus Not Obscured (Minimum), 2.4.11, which says a focused element should not be completely hidden by fixed content. See accessible focus styles and WCAG 2.2: what changed.
  4. Test zoom and reflow. At high zoom, a fixed header can fill most of the screen. See text spacing and zoom for low vision users.
  5. Avoid layout shifts when the header changes size. See how to fix Cumulative Layout Shift.

Floating action buttons

These are buttons that stay on screen, such as "Call now", "Book", or a chat bubble.

Benefits:

  • Always available on mobile, where reaching the top is awkward
  • Can raise calls and bookings for businesses where a phone call is the goal. See click to call and phone conversions

Drawbacks:

Doing it well

  • Use one floating action at most, matching your main goal
  • Keep it small, with a clear label and a good contrast ratio
  • Make sure it is a real button or link with an accessible name. See accessible buttons vs links
  • Do not cover important content or the checkout. Hide it on pages where it is not relevant
  • Make the target large enough but not huge. See touch target sizes for mobile
  • Keep it clear of cookie banners and system gestures near the screen edge

A bottom bar on mobile can hold a price and buy button on product pages. It can work well if it is not too tall.

Test the effect

Compare conversion and bounce rates with and without the element. Watch recordings or use heatmaps to see if it blocks things. See website heatmaps and what they tell you and A/B testing for small websites.

Respect user choice

Provide a way to dismiss non-essential floating widgets. Avoid animations that draw constant attention. See accessible 3D, parallax, and motion effects.

Common mistakes

  • Tall fixed headers on phones
  • Floating elements hiding form fields
  • Several floating widgets competing
  • Forgetting keyboard users

To judge whether any of this works, you need to measure more than final sales. Read micro-conversions: what to track.