fix: update mobile navigation styles and comment out unused code
This commit is contained in:
@@ -29,8 +29,8 @@
|
|||||||
|
|
||||||
/* Mobile Navigation Style - Choose one of the following: */
|
/* Mobile Navigation Style - Choose one of the following: */
|
||||||
/* Accordion/dropdown style */
|
/* Accordion/dropdown style */
|
||||||
/* @import "./nav-mobile-accordion.css"; */
|
@import "./nav-mobile-accordion.css";
|
||||||
/* Sliding viewport style */
|
/* Sliding viewport style */
|
||||||
@import "./nav-mobile-sliding.css";
|
/* @import "./nav-mobile-sliding.css"; */
|
||||||
|
|
||||||
@import "./nav-footer.css";
|
@import "./nav-footer.css";
|
||||||
|
|||||||
@@ -23,10 +23,8 @@
|
|||||||
|
|
||||||
background: var(--color-cwc-blue-02);
|
background: var(--color-cwc-blue-02);
|
||||||
color: var(--color-white);
|
color: var(--color-white);
|
||||||
/* Cap the menu height to the visible viewport area so overflowing items
|
/* 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. */
|
||||||
scroll inside the menu instead of letting the menu grow taller
|
height: calc(100vh - var(--hgtHeader));
|
||||||
than the screen. */
|
|
||||||
max-height: calc(100vh - var(--hgtHeader));
|
|
||||||
top: var(--hgtHeader);
|
top: var(--hgtHeader);
|
||||||
width: 95%;
|
width: 95%;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
|
|||||||
@@ -84,13 +84,13 @@ $wrapper = blockWrapperAttributes( $classes, $is_preview );
|
|||||||
<?php get_template_part( 'views/partials/hero-vector-mobile' ); ?>
|
<?php get_template_part( 'views/partials/hero-vector-mobile' ); ?>
|
||||||
</div>
|
</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">
|
<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" />
|
<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" />
|
<circle cx="12" cy="9" r="2.5" />
|
||||||
</svg>
|
</svg>
|
||||||
<span><?php echo esc_html__( 'Location / Nation Information', 'cwc' ); ?></span>
|
<span><?php echo esc_html__( 'Location / Nation Information', 'cwc' ); ?></span>
|
||||||
</div>
|
</div> -->
|
||||||
|
|
||||||
<div class="topGradient absolute inset-0 z-1"><!-- Rectangle 88 --></div>
|
<div class="topGradient absolute inset-0 z-1"><!-- Rectangle 88 --></div>
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ global $views;
|
|||||||
$menuItems->render();
|
$menuItems->render();
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
<!--
|
||||||
<div class="menu-vdi__footer">
|
<div class="menu-vdi__footer">
|
||||||
<a class="menu-vdi__contact-button button dark" href="<?php echo esc_url( home_url( '/contact/' ) ); ?>">
|
<a class="menu-vdi__contact-button button dark" href="<?php echo esc_url( home_url( '/contact/' ) ); ?>">
|
||||||
<?php echo esc_html__( 'Contact', 'cwc' ); ?>
|
<?php echo esc_html__( 'Contact', 'cwc' ); ?>
|
||||||
@@ -40,5 +40,5 @@ global $views;
|
|||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> -->
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
Reference in New Issue
Block a user