• Resolved artison.in

    (@artisonin)


    Hi,

    I am using DELI theme, storefront. I used the following to rename ‘Navigation’ in mobile view on Storefront. While the text changes from ‘Navigation’ to ‘Primary Menu’, the button itself becomes inactive. Clicking ‘Primary Menu’ does nothing. Kindly help. Website is live “www.artison.in”

    Thanks!

    Code added to -> Deli: Theme Functions (functions.php)

    function storefront_primary_navigation() {
    ?>
    <nav id=”site-navigation” class=”main-navigation” role=”navigation”>
    <button class=”menu-toggle”><?php _e( ‘Primary Menu’, ‘storefront’ ); ?></button>
    <?php wp_nav_menu( array( ‘theme_location’ => ‘primary’ ) ); ?>
    </nav><!– #site-navigation –>
    <?php
    }

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Renaming "Navigation" doesnt work – Mobile view Storefront’ is closed to new replies.