This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Turn off the link feature in the drop down main menu

  • Creator
    Topic
  • #2297

    Hi,

    Thanks for all the help so far… I was wondering if you could tell me how to turn off the link feature when I hover over a menu item so that the only thing that takes place is that the submenu drops down and the user would be unable to click on the main menu link?

    I hope it makes sense…

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #2301
    Jason Bobich
    Keymaster

    Hello,

    You can add the class “no-click” to the parent menu items. Check out this video from your documentation: https://vimeo.com/32559964

    #2305
    michaelshinosky
    Participant

    How do you we not display a top menu item with class no-click in the responsive jump menu?

    #2317
    Jason Bobich
    Keymaster

    How do you we not display a top menu item with class no-click in the responsive jump menu?

    What you could do is create a separate menu used for the mobile jump menu only like this from your Child theme’s functions.php:

    // Register "Mobile Menu"
    function register_mobile_menu() {
    	register_nav_menus( array( 'mobile-menu' => 'Mobile Menu' ) );
    }
    add_action( 'init', 'register_mobile_menu' );
     
    // Change responsive nav menu id
    function apply_mobile_menu( $menu_id ) {
    	$menu_id = 'mobile-menu'; // Our registered "Mobile Menu" ID
    	return $menu_id;
    }
    add_filter( 'themeblvd_responsive_menu_location', 'apply_mobile_menu' );
    #2342
    michaelshinosky
    Participant

    Awesome – Thanks for the help!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The forum ‘Alyeska Responsive WordPress Theme’ is closed to new topics and replies.