Tagged: ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #479007

    Hi

    Is it possible to have a menu that is used for mobile instead of the main menu? We have a mega menu, and it is just to large on mobile to be user friendly. :-)

    Thanks

    #479183

    Hey nosuchagency!

    Your trying to create a separate menu for mobiles? There currently is no option for this. You could try this out though, http://kriesi.at/documentation/enfold/changing-the-menu-on-mobiles/.

    Best regards,
    Elliott

    #479667

    Hi

    Yes, that’s it, but what to do when there is a theme update? Anyway to do this in the child theme?

    Thanks

    #479675

    Hey!

    Please add following code to Functions.php file of your child theme

    function wp_change_aviajs() {
       wp_dequeue_script( 'avia-default' );
       wp_enqueue_script( 'avia-default-child', get_stylesheet_directory_uri().'/js/avia.js', array('jquery'), 2, true );
    }
    add_action( 'wp_print_scripts', 'wp_change_aviajs', 100 );

    and move modified file inside /js folder

    Best regards,
    Yigit

    #480670

    Perfect! Thanks!

    Anyway to close this topic? Mark it resolved, or something like that?

    #480673

    Hi!

    You are welcome, we are always happy to help :)
    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Best regards,
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Separate Mobile Menu’ is closed to new replies.