Skip to content

Commit

Permalink
fixing an issue where row layouts with navs outside of headers were g…
Browse files Browse the repository at this point in the history
…etting a z index higher than a sticky nav

https://stellarwp.atlassian.net/browse/KAD-3727
  • Loading branch information
mark-c-woodard committed Dec 5, 2024
1 parent d886570 commit d5e0aba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/blocks/rowlayout/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -337,5 +337,8 @@
//fix for nav blcoks inside a row layout, default them to a very high z-index for their submenus
//weird :where selector to manage specificity to not override the z-index control
:where(.kb-row-layout-wrap:has(.wp-block-kadence-navigation)) {
z-index: 49;
}
:where(header .kb-row-layout-wrap:has(.wp-block-kadence-navigation)) {
z-index: 1000;
}

0 comments on commit d5e0aba

Please sign in to comment.