• Hi

    Mobile menu is not showing at all for the main menu. It was added to the custom header using a shortcode [oceanwp_nav]

    I tried to activate the top bar menu and to add the shortcode to the page content. Stillm no mobile menu.

    I checked the source and it does not load Mobile navigation at all

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter gelut

    (@gelut)

    Actually I found an error in shortcodes.php

    // Mobile nav
    get_template_part( ‘partials/header/mobile-icon’ );

    Should be

    // Mobile nav
    get_template_part( ‘partials/MOBILE/mobile-icon’ ); ?>

    Copied mobile-icon.php to partials/header/ folder and now it works

    • This reply was modified 5 years, 10 months ago by gelut.

    Glad to hear that it is fixed and thanks for the solution.

    Thread Starter gelut

    (@gelut)

    The script should be updated though. Also is there a shortcode for the mobile menu?

    No, there is no shortcode for the mobile menu but you can use custom header nav widget which works perfectly both on the desktop and mobile view. For the script, we will surely look into this.

    @gelut Where did you find the shortcode.php file? I’m lo0oking through the theme files and can’t find it. I created a custom header with Visual composer and can’t see mobile menu either.

    You will see the shortcode.php files under the Ocean Extra plugin folder.

    Thanks a lot for the fix!!!

    I just don’t understand why the code wasn’t updated since?…

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Mobile menu for shortcode nav’ is closed to new replies.