mirror of
https://github.com/Sea-Haven-Industries/seahaven-site.git
synced 2026-10-01 10:33:14 +00:00
The Elementor CSS custom property chain for --width wasn't resolving correctly on the static site. Added explicit flex layout rules for the footer columns (25% on desktop, 48% on tablet). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
71 lines
1.9 KiB
CSS
71 lines
1.9 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);
|
|
}
|
|
|
|
/* Footer layout fix: 4-column grid */
|
|
.elementor-114 .elementor-element-1e434e0f {
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
}
|
|
@media (min-width: 768px) {
|
|
.elementor-114 .elementor-element-35f24109,
|
|
.elementor-114 .elementor-element-4b217e53,
|
|
.elementor-114 .elementor-element-62e2207d,
|
|
.elementor-114 .elementor-element-583b5112 {
|
|
width: 25%;
|
|
flex: 0 0 25%;
|
|
}
|
|
}
|
|
@media (max-width: 1024px) and (min-width: 768px) {
|
|
.elementor-114 .elementor-element-35f24109,
|
|
.elementor-114 .elementor-element-4b217e53,
|
|
.elementor-114 .elementor-element-62e2207d,
|
|
.elementor-114 .elementor-element-583b5112 {
|
|
width: 48%;
|
|
flex: 0 0 48%;
|
|
}
|
|
}
|