🐞 fix: Update footer navigation styles and improve accessibility
This commit is contained in:
+8
-6
@@ -39,13 +39,13 @@ $footerNav = ! empty( $locations['footer_navigation'] )
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
<div id="footer-nav" aria-labelledby="footer-navigation">
|
||||
<div id="footer-nav">
|
||||
<?php if ( $footerNav ) : ?>
|
||||
<nav class="site-footer__nav" aria-label="Footer navigation">
|
||||
<ul class="site-footer__nav-list">
|
||||
<?php foreach ( $footerNav as $item ) : ?>
|
||||
<li class="site-footer__nav-item list-none text-left <?php echo esc_attr( implode( ' ', $item->classes ) ); ?>">
|
||||
<a href="<?php echo esc_url( $item->url ); ?>" class="site-footer__nav-link">
|
||||
<li class="site-footer__nav-item list-none text-left mb-3 <?php echo esc_attr( implode( ' ', $item->classes ) ); ?>">
|
||||
<a href="<?php echo esc_url( $item->url ); ?>" class="site-footer__nav-link font-bold">
|
||||
<?php echo esc_html( $item->title ); ?>
|
||||
</a>
|
||||
</li>
|
||||
@@ -55,11 +55,13 @@ $footerNav = ! empty( $locations['footer_navigation'] )
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<div aria-labelledby="footer-area-1" class="prose-p:text-balance">
|
||||
<div id="footer-description" aria-label="Footer description">
|
||||
<div class="prose-p:text-balance">
|
||||
<div id="footer-description" class="" aria-label="Footer description">
|
||||
<?php echo wp_kses_post( $footerDesc ); ?>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<?php dynamic_sidebar( 'footer-1' ); ?>
|
||||
</div>
|
||||
|
||||
@@ -81,7 +83,7 @@ $footerNav = ! empty( $locations['footer_navigation'] )
|
||||
?>
|
||||
</div>
|
||||
|
||||
<div class="copyright text-white text-right py-3 text-12px">
|
||||
<div class="copyright font-light text-cwc-blue-03/60 text-right py-3 text-12px">
|
||||
<?php
|
||||
if ( $copyright ) {
|
||||
echo wp_kses_post( $copyright );
|
||||
|
||||
Reference in New Issue
Block a user