help center

Search
Close this search box.
On this page

Create a sticky header

Last Update: October 27, 2024

WordPress Sticky headers make your header or menu visible at all times.

To create a sticky header:

  1. Open the Header in the Elementor Editor. For details about creating and editing Headers, see Create or edit a Header.
    Select the Container Create a sticky header 1
  2. Select the Header’s parent container by clicking its handle Create a sticky header 4 or by clicking it in the Navigator. The Edit Container panel shows on the left.
    Create a sticky header 1
  3. Click Advanced
    Expand Motion Effects2 Create a sticky header 5
  4. Expand Motion Effects.
    Select from the motion effects dropdown Create a sticky header 7
  5. Use the Sticky dropdown menu to select one of the following options:
    Create a sticky header 2
    • None – This removes the sticky header. Do not choose this option if you want to create a sticky header.
    • Top – Choose to stick your header to the top of the screen.
    • Bottom – Do not choose. Not relevant for headers.
  6. Under Sticky On, choose the devices on which your section should be sticky. Choose one of the following options: 
    Create a sticky header 3
    • Desktop – Sticky on desktop/laptops.
    • Tablet Portrait – Sticky on tablets.
    • Mobile Portrait – Sticky on mobiles.
  7. Set the following: (Displays only if Sticky is set to Top.)
    • Offset – It pushes the sticky element up or down by pixels.
    • Effects Offset – This is the number of pixels the user must scroll before the sticky effect begins.
    • Anchor offset – Set the scroll to the desired position to ensure content is visible under the sticky header.
    • Stay in Column – Toggle to Yes if you want the section to remain in its own column.
  8. Click Publish.
Note
For sections, you have to deactivate The stretch section feature to be able to use the Scrolling Effect, otherwise the Scrolling Effect tab does not appear.

Related articles

How to Create A Header & Footer in WordPress + Examples

Have more questions? We’re more than happy to assist.

Link is copied to clipboard!
On this page

Is this article helpful?

Share this article

Stuck?
Our Elementor Expert is Ready

Book a 45-min video consultation call with an Elementor expert and elevate your site!