Header Positions and Overlapping Content (classic settings)

Deprecated article

This article is no longer maintained and may describe behaviour that has since changed.

Estimated reading time: 4 min

This article covers the classic header position settings, the ones with three site-wide positions and a site-wide overlap toggle. If your Position dropdown offers Standard, Sticky and Overlay, you are reading the right article.

If it offers only Standard and Sticky, your site uses the simplified header settings, and the article you want is Header Positions and Overlapping Content.

The classic settings are not going away today, but they will not gain new options either. New installations of Rey start on the simplified model. See Moving to the simplified settings at the end when you are ready.

Where to find it

Open Rey › Settings › Header › General and scroll to the Header Position heading.

The Header › General section with the Header Position heading and the Position dropdown open, showing Standard, Sticky and Overlay.

The three positions

Position sets the site-wide default. It is hidden when Header Layout is set to No header.

Standard

The header sits above the page content and scrolls away as you scroll down. This is the default, and it suits most sites.

Animated GIF of a standard header scrolling out of view as the page scrolls

Sticky

The header stays pinned to the top of the screen while you scroll, so the menu, search and cart are always visible. Choosing Sticky reveals the Sticky Header Options group below.

Animated GIF of a sticky header staying pinned while the page scrolls underneath it.

Overlay

The content starts at the very top of the screen, behind the header, and the header floats over it and scrolls away with the page. Use it when the page opens with a hero image you want to fill the screen, with the logo and menu sitting on top of it.

For this to be visible, the header needs a transparent or semi-transparent background, otherwise the content simply passes behind a solid bar.

Animated GIF of an overlay header floating over a hero image, then scrolling away with the page.

In Rey 3.3.0 and earlier this position was labelled Overlap content. Only the name changed, the behaviour is the same.

Overlap Content

Shown under Sticky Header Options when Position is Sticky, and on by default.

When it is on, the page content starts at the very top and slides underneath the sticky header as you scroll. When it is off, the content starts below the header. It has separate values for desktop, tablet and mobile.

This is the site-wide default. Individual pages can override it, see below.

Note that this toggle does nothing for the Overlay position, which overlaps by its own nature, and nothing for Standard.

Turn off sticky on mobile

Also under Sticky Header Options, and on by default. A pinned header takes up valuable space on a small screen, so on phones the header scrolls away instead. Turn it off if you want it pinned on mobile too.

Overriding the position per page

Any page can ignore the site-wide choice and use its own. That is how a site ends up with an overlay header on the homepage, a sticky one on the shop, and a standard one everywhere else.

Edit the page, find the Page Settings box, and open its Header tab.

The Page Settings box on a page edit screen, Header tab active, showing Header Position and the Overlap Content fields.

Header Position

A dropdown with the same three choices, Standard, Sticky and Overlay, plus an empty option at the top that reads Inherit followed by the site-wide value in brackets, for example Inherit (Standard). Leave it on Inherit and the page follows the site-wide setting. Pick one of the three and it applies to this page only.

Overlap Content

Three fields, Overlap Content, Overlap Content (tablet) and Overlap Content (mobile), one per screen size. Each offers:

  • Inherit, the empty option, which follows the site-wide Overlap Content toggle. The value it currently resolves to is printed under the dropdown, so you can see what inheriting gives you.
  • Under the header, so this page’s content slides underneath.
  • Below the header, so this page’s content starts under the header’s bottom edge.

These fields are read only when the page’s own Header Position is set to Sticky. On a page pinned to Overlay, the site-wide values apply instead. This is a quirk of the classic model, and one of the reasons the simplified settings exist.

Three things worth knowing

Overlap needs a page designed for it. Content sliding under the header gets partly covered at the top. It works when the page opens with a full-width hero, a page cover or a large image, and it hides your first heading when it does not.

Header colors are per page too. The same Header tab has a Header Text Color field. On a page with a dark hero behind a transparent header, set it to white so the menu stays readable.

A page pinned to Sticky does not get the sticky scroll behaviour. The sticky JavaScript reads the site-wide position only, so a page individually pinned to Sticky on a standard site gets a fixed header through CSS but not the shrinking and hiding effects. Set the position site-wide if you need those.

Example: an overlay homepage on a standard site

  1. Go to Rey › Settings › Header › General and leave Position on Standard, since that is what most of the site should use.
  2. Set Background Color to transparent in the same section, or set the background inside your header global section if the header is built with Elementor.
  3. Edit the homepage and open Page Settings › Header.
  4. Set Header Position to Overlay.
  5. Set Header Text Color to white so the menu reads over the hero.
  6. Update and view the homepage. The hero fills the screen with the header floating on it, while every other page keeps its standard header.

Moving to the simplified settings

The simplified model replaces everything above with one site-wide choice, Standard or Sticky, and one per-page Header Overlap Content field that works on both positions. The switch is in Rey › Settings › Advanced › Features, on the Simplified header settings card, and your current values are backed up so you can switch back.

Two changes are worth knowing before you switch. Pages that explicitly chose Overlay keep their look. Pages that only overlapped because the site-wide Overlap Content toggle was on will start below the header, and you turn overlap back on for each one that needs it.

The full details are in Header Positions and Overlapping Content.

Was this article helpful?