Created
November 28, 2022 21:36
-
-
Save loorlab/da4b53630c8c0e9fbcf6b8cc27213e6a to your computer and use it in GitHub Desktop.
Fix: Sticky Header Overlaps Anchor in Elementor - WordPress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body:not(.elementor-editor-active) .elementor-widget-menu-anchor { | |
position: relative; | |
z-index: -1; | |
} | |
body:not(.elementor-editor-active) .elementor-menu-anchor:before { | |
content: ""; | |
display: block; | |
height: 100px; // fixed header height | |
margin: -100px 0 0; // negative fixed header height | |
visibility: hidden; | |
pointer-events: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
via https://wp-pagebuilderframework.com/sticky-header-overlaps-anchor-elementor/