menu in mobile view

Home Forums Best Commerce menu in mobile view

This topic contains 2 replies, has 2 voices, and was last updated by  Axle Support 3 weeks, 2 days ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #10187

    johnnyd
    Participant

    Hello yet again, I am trying to change the menu in mobile, it shows two icons and I would like to either add text next to it or remove the icons and add text only but I can not seem to be able to find it in the style.css any ideas as where to change it? the web site is medicalfa

    • This topic was modified 3 weeks, 4 days ago by  johnnyd.
    #10189

    johnnyd
    Participant

    Ok I have located the file if anyone needs to edit it, it is in best commerce -> includes -> theme-hooks.php
    you will need to edit the following lines if

    ( ! function_exists( ‘best_commerce_mobile_navigation’ ) ) :

    /**
    * Mobile navigation.
    *
    * @since 1.0.0
    */
    function best_commerce_mobile_navigation() {
    ?>
    <div class=”mobile-nav-wrap”>
    <i class=”fa fa-list-ul” aria-hidden=”true” > </i>
    <?php $enable_category_menu = best_commerce_get_option( ‘enable_category_menu’ ); ?>
    <?php if ( true === $enable_category_menu ) : ?>
    <i class=”fa fa-folder-o” aria-hidden=”true”></i>
    <?php endif; ?>
    <div id=”mob-menu”>
    <?php
    wp_nav_menu( array(
    ‘theme_location’ => ‘primary’,
    ‘container’ => ”,
    ‘fallback_cb’ => ‘best_commerce_primary_navigation_fallback’,
    ) );
    ?>
    </div><!– #mob-menu –>

    </div><!– .mobile-nav-wrap –>
    <?php
    }

    #10204

    Axle Support
    Moderator

    Hi @johnnyd

    It looks like you are able to fix your problem yourself. Kindly message us if you need further help.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.