seahaven-site/wp-content/css/nav-dropdown-fix.css
Adam Moussa ae4431dec8 Consolidate CSS: remove unused stylesheets and combine widget/animation CSS
Remove 6 WordPress editor stylesheets (269KB) never needed on frontend,
unused widget-image-box CSS, SJB plugin CSS from non-job pages, duplicate
Font Awesome, and FA v4 shims from pages without v4 icons. Consolidate
10 widget CSS files and 4 animation CSS files into inlined combined blocks.
Reduces stylesheet links from ~40+ to ~20 per page.

Also adds CSS-only nav dropdown fix with arrow indicator for the About >
Social Accountability submenu that was missing from the static export.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-04 18:26:03 -04:00

46 lines
1.2 KiB
CSS

/* Static site fix: CSS-only dropdown for Elementor nav menu */
.elementor-nav-menu--main .menu-item-has-children {
position: relative;
}
.elementor-nav-menu--main .menu-item-has-children > a.elementor-item {
display: inline-flex !important;
align-items: center !important;
gap: 4px !important;
}
.elementor-nav-menu--main .menu-item-has-children > a.elementor-item::after {
content: "▾" !important;
display: inline !important;
font-size: 1em !important;
line-height: 1 !important;
visibility: visible !important;
opacity: 1 !important;
width: auto !important;
height: auto !important;
border: none !important;
position: static !important;
}
.elementor-nav-menu--main .menu-item-has-children > .sub-menu {
display: none;
position: absolute;
top: 100%;
left: 0;
background: #fff;
min-width: 200px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
z-index: 9999;
padding: 0;
margin: 0;
list-style: none;
}
.elementor-nav-menu--main .menu-item-has-children:hover > .sub-menu {
display: block;
}
.elementor-nav-menu--main .sub-menu .menu-item a {
display: block;
padding: 10px 20px;
white-space: nowrap;
text-decoration: none;
}
.elementor-nav-menu--main .sub-menu .menu-item a:hover {
background: rgba(0,0,0,0.05);
}