fix: update mobile navigation styles and comment out unused code
Deploy to Dreamhost (dev) / build (push) Successful in 35s
Sync TODOs with Issues / sync_todos (push) Successful in 7s

This commit is contained in:
Keith Solomon
2026-06-28 20:52:40 -05:00
parent 3db0ceaf8d
commit 01101ff712
4 changed files with 8 additions and 10 deletions
+2 -2
View File
@@ -29,8 +29,8 @@
/* Mobile Navigation Style - Choose one of the following: */
/* Accordion/dropdown style */
/* @import "./nav-mobile-accordion.css"; */
@import "./nav-mobile-accordion.css";
/* Sliding viewport style */
@import "./nav-mobile-sliding.css";
/* @import "./nav-mobile-sliding.css"; */
@import "./nav-footer.css";
+2 -4
View File
@@ -23,10 +23,8 @@
background: var(--color-cwc-blue-02);
color: var(--color-white);
/* Cap the menu height to the visible viewport area so overflowing items
scroll inside the menu instead of letting the menu grow taller
than the screen. */
max-height: calc(100vh - var(--hgtHeader));
/* Cap the menu height to the visible viewport area so overflowing items scroll inside the menu instead of letting the menu grow taller than the screen. */
height: calc(100vh - var(--hgtHeader));
top: var(--hgtHeader);
width: 95%;
z-index: 100;
+2 -2
View File
@@ -84,13 +84,13 @@ $wrapper = blockWrapperAttributes( $classes, $is_preview );
<?php get_template_part( 'views/partials/hero-vector-mobile' ); ?>
</div>
<div class="homepage-hero__location" aria-hidden="true">
<!-- <div class="homepage-hero__location" aria-hidden="true">
<svg viewBox="0 0 24 24" focusable="false">
<path d="M12 21s7-5.6 7-12a7 7 0 1 0-14 0c0 6.4 7 12 7 12Z" />
<circle cx="12" cy="9" r="2.5" />
</svg>
<span><?php echo esc_html__( 'Location / Nation Information', 'cwc' ); ?></span>
</div>
</div> -->
<div class="topGradient absolute inset-0 z-1"><!-- Rectangle 88 --></div>
+2 -2
View File
@@ -21,7 +21,7 @@ global $views;
$menuItems->render();
}
?>
<!--
<div class="menu-vdi__footer">
<a class="menu-vdi__contact-button button dark" href="<?php echo esc_url( home_url( '/contact/' ) ); ?>">
<?php echo esc_html__( 'Contact', 'cwc' ); ?>
@@ -40,5 +40,5 @@ global $views;
);
?>
</div>
</div>
</div> -->
</nav>