| 开发者 | artemsemkin |
|---|---|
| 更新时间 | 2026年8月28日 13:51 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv3 |
| 版权网址: | 版权信息 |
document: arts/header/sticky, arts/header/hidden, arts/header/locked, arts/header/released, arts/header/displaced. The TypeScript and SCSS source lives on GitHub: https://github.com/artkrsk/header-engine-for-elementor
No. It works with the free Elementor plugin — any Container can become a header. If you use Elementor Pro, header templates built with the Theme Builder work too, in the Top and Bottom positions.
On the Container itself. Select the container in the Elementor editor and open Layout → Create Header. There is no separate admin page.
No. Headers in the Top and Bottom positions overlay the page and never affect its layout. Headers in the Default position reserve a constant slot in the page, so even a header that shrinks while sticky does not shift the content below it.
Yes. The Sticky State section has its own background, border, box-shadow and padding controls, the Sticky Colors rows can remap your Global Colors for everything inside, and the Dual Site Logo widget can swap to a second logo. The transition between the two states is animated in CSS.
Use Elementor Global Colors in the widgets inside your header, then add rows under Create Header → Sticky Colors: each row maps one Global Color to the value it should take while the header is sticky. Every widget that uses that color follows automatically, third-party widgets included. Plain hex colors are left alone, and a widget's own sticky-specific color control, if it has one, still wins.
Set Position to Top, leave the container's background empty, and give the Sticky State a solid background. The header overlays your hero, then fills in as it pins.
Yes. Select any other container on the page and open its Header Zone section: choose Hide Header or Reveal & Lock Header, and pick when the zone counts: when it reaches the top, overlaps the header, or is in view.
The Default position pins the header within its parent container, and a Theme Builder header location is only as tall as the header itself, so there is nowhere to pin. Use the Top position for site headers; Default is meant for bars inside tall page content.
No. The script and stylesheet together weigh about 25 KB, and the engine does its work on a single shared scroll listener with cached geometry; the animations themselves run in CSS.