OceanWP Sticky Header: Theme Option or Elementor Header
If you run OceanWP and want the header to stay on screen, you have two routes. One is the sticky header feature from OceanWP itself. The other applies when your header is built with Elementor: use a sticky tool on that header container. The right choice depends on which header type your site uses and what you want to change on scroll.
This guide explains both, using the OceanWP documentation for the theme options and the plugin settings for the Elementor route.

Key Takeaways
- OceanWP documents Sticky Header as a premium feature.
- For the Custom Header type, OceanWP offers Auto and Manual sticky options, and Manual uses the owp-sticky class.
- Sticky Header Effects for Elementor works on Elementor sections and containers, so it only applies to a header built that way.
- Use one sticky system for a header, not both.
- We have not tested the plugin route with every OceanWP header setup, so try it on a staging copy first.
First, Check Your OceanWP Header Type
Go to Appearance, then Customize, then Header, then General, and look at the header type. OceanWP includes standard header styles and a Custom Header type. According to the OceanWP custom header documentation, you select Custom Header in that panel and then choose your template in the Custom Header settings. Templates are managed under OceanWP, then My Library. Older theme versions label the path a little differently.
This matters because the sticky options differ between a standard theme header and a header you designed yourself.
Route 1: The OceanWP Sticky Header Feature
The OceanWP Sticky Header documentation states that this is a premium feature, available with the OceanWP Pro Bundle and Ocean eCommerce Pro. The Sticky Header panel appears in the Customizer after you install and activate the premium extension. Check the OceanWP site for current plans.
Settings for Standard Headers
The documentation groups the panel into elements, style and effects, logo, and typography and colors. Options it lists include:
- Sticky Top Bar and Sticky Mobile, to decide which parts stay on screen.
- Sticky Style, with Shrink and Fixed choices, and a height setting for the shrink style.
- Sticky Scrolling Effects, including No Effect, Slide, and Show Up or Hide Down.
- Full Width on Sticky, No Shadow on Sticky, Sticky Opacity and Sticky Padding.
- A separate Sticky Logo, a retina version and a Sticky Logo Height.
- Sticky background and menu item colors.
For the Medium header style, there are also options to hide the menu on sticky or to stick only the menu. OceanWP says to use only one of those two.
Settings for a Custom Header
The article on sticky behavior for the Custom Header type describes two choices:
- Auto makes the entire header stick while the visitor scrolls.
- Manual sticks only the item to which you add the owp-sticky class.
If your custom header is built in Elementor and you choose Manual, edit the section you want to keep on screen, open the Advanced tab and add owp-sticky to the CSS class field. Enter the class name without a leading dot, update the template, and clear any page cache.
Route 2: Sticky Header Effects on an Elementor Header
Sticky Header Effects for Elementor is a free plugin that adds a panel to Elementor sections and containers. It does not change OceanWP’s own standard headers, because those are not Elementor containers. Consider this route when your header is an Elementor template and you want the scroll styling set inside the editor.
How to Set It Up
- Work on a staging copy of the site.
- Switch off the OceanWP sticky option for this header, and remove the owp-sticky class if you added it.
- Install and activate Sticky Header Effects for Elementor.
- Edit the header template and select its outer section or container.
- Open the Advanced tab, expand Sticky Header Effects and switch Enable to On.
- Choose the devices in Enable On, set the Scroll Distance, and add a Background Color.
- Update, clear caches and scroll through several pages as a logged out visitor.
The Scroll Distance default is 60 pixels. After the visitor passes it, the plugin fixes the header to the top of the window and applies your sticky settings. If you are new to the settings, read how a sticky header on scroll works.
What You Can Change on Scroll
- Background color, bottom border and bottom shadow.
- Header height and logo size.
- Blur Background, Change Logo Color and Transparent Header.
- Hide Header on Scroll Down.
- Fix Anchor Scroll, so in page links are not covered by the header.
Which Route Should You Choose?
| Your Situation | Route to Try First |
|---|---|
| Standard OceanWP header style | OceanWP Sticky Header feature |
| Elementor custom header and you already own the OceanWP premium feature | OceanWP Auto or Manual option |
| Elementor custom header and you want to set scroll effects in the editor | Sticky Header Effects, tested on staging |
| You plan to change themes later and keep the Elementor header | A sticky setting stored with the Elementor header |
After any theme change, check how your header template is displayed, because the theme or header builder that placed it may no longer do so.
Match the Look You Had Before
If you are replacing the OceanWP option with the plugin on a custom Elementor header, write down the visual choices first, then recreate only the ones you need. A sticky background color maps to Background Color in the plugin panel. A shrinking effect maps to Shrink Header and Shrink Logo. A header that hides on the way down and returns on the way up maps to Hide Header on Scroll Down. Spacing in the sticky state is set in the After Sticky popover, where you can adjust offset, width and padding.
The two tools are not copies of each other, so do not expect identical timing or animation. Set the Scroll Distance to the point where the old header changed, compare the two on the same page, and adjust from there. If a separate sticky logo image is essential, that is the Logo Image Swap feature in the Pro add-on, while the free Change Logo Color option only turns the existing logo white, black or full color. Check the result on tablet and phone widths as well, since each can have its own height and distance values. Keep your notes with the site documentation so the choice is easy to review later.
Troubleshooting an OceanWP Sticky Header
The Sticky Header Panel Is Missing
OceanWP says the panel appears when the premium extension is installed and activated. Check the extension status and your license in OceanWP.
The Custom Header Does Not Stick
Confirm that the header type is set to Custom Header and the correct template is selected. For Manual mode, check the class spelling. For the plugin route, check that Enable is on and the current device is selected. Clear the page cache and any CSS cache.
The Header Jumps or Flickers
Make sure only one sticky method is active. Two systems moving the same element can produce double offsets. Then keep the normal and sticky heights close together. The conflict troubleshooting guide shows how to isolate settings.
The Header Hides Behind Other Content
Look for another element with a higher stacking order, such as a slider or a popup bar. Adjust its z-index or the header’s, and test dropdown menus afterward. See dropdown menus hiding behind content.
The Mobile Header Behaves Differently
OceanWP documents a Sticky Mobile option for showing the mobile header on scroll. Its articles do not say whether it applies to the Custom Header type, so test it. With the plugin, mobile is controlled by Enable On and the responsive settings. Our mobile sticky header guide has a checklist.
Prepare a Staging Copy First
Header changes show on every page, so a mistake is very visible. Many hosts offer a staging copy. Before you switch methods, note the current header type, the selected template, any custom CSS that targets the header and any class you added to its sections. Take screenshots of the header at the top of the page and after scrolling, on desktop and on a phone. Those notes let you return to the old setup quickly.
How to Build the Elementor Header for Either Route
Both the Custom Header options and the plugin route work better with a tidy template. Keep the structure shallow: one outer section or container for the whole header, with the logo, the menu and any button inside it. Apply the sticky setting or class to that outer element, not to a single column or widget, unless you use the OceanWP Manual option to stick only one section.
- OceanWP advises keeping the mobile version of a custom header to the logo and the menu, and hiding other items with responsive display options.
- Give the header a background color for the sticky state, so page content does not show through the menu text.
- Use a logo file that stays sharp at both its normal and smaller size.
- Avoid large top and bottom margins on the outer element, since they add to the height that covers the page.
For the layout itself, follow our header and footer guide, then return here to add the sticky behavior.
Choosing Between Shrink, Fixed and Hide on Scroll
A fixed header keeps the same size all the way down the page. It is predictable and works well when the header is already slim. A shrinking header gives a larger first impression and returns reading space after the visitor scrolls. A header that hides on the way down and returns on the way up frees the most room, which helps on long articles viewed on phones.
Try one behavior at a time. Combining a shrink, a color change, a blur and a hide on scroll rule from the start makes it hard to tell which setting causes a problem. Add the next effect only after the previous one works on a real device. Read sticky vs fixed vs static headers if you are still deciding which behavior the site needs.
Moving From One Route to the Other
To move from the OceanWP option to the plugin, first turn the theme option off and remove the owp-sticky class, clear caches and confirm that the header now scrolls away. Only then enable the plugin on the header container. To move back, switch Enable off in the plugin panel, update the template, clear caches and restore the theme setting. Checking the plain scrolling state in between proves that nothing from the old method is still attached.
Tests to Run Before You Publish
- The home page, a long post, an archive and a shop page if you have one.
- A desktop window, a tablet width and a real phone.
- Dropdown menus and the mobile menu in both the normal and sticky state.
- Links that jump to a section on the same page.
- A logged out window, so the admin bar does not hide spacing problems.
Frequently Asked Questions
Is the OceanWP Sticky Header Free?
OceanWP’s documentation describes Sticky Header as a premium feature, available with the OceanWP Pro Bundle and Ocean eCommerce Pro. Check OceanWP for current terms.
What Is the owp-sticky Class?
It is the CSS class OceanWP uses in Manual mode for the Custom Header type. Add it to the item in your header that should stay on screen.
Can I Use Sticky Header Effects With a Standard OceanWP Header?
No. The plugin settings live on Elementor sections and containers. A standard theme header is configured in the Customizer.
Can I Run Both Sticky Options Together?
We do not recommend it for the same header. Choose one so that position, offset and transitions come from a single place.
Do I Need Elementor Pro for the Plugin Route?
The free plugin does not require Elementor Pro for its header effects. You still need a way to display your Elementor header template, which OceanWP’s Custom Header type is designed to do.
Suggested Reading
Want the sticky header without the code?
Sticky Header Effects for Elementor drops in as a widget. Free plugin, no account needed.