This topic is: resolved
Viewing 3 reply threads
  • Author
    Posts
    • #2777
      poweruption
      Member
      Post count: 1

      Hi, how can we change the top menu style to dropdown menu on mobile devices only, like on your deluxe theme?
      Best regards.

    • #2785
      Support Team
      Keymaster
      Post count: 748

      Hi, there is a way to do it. We’ll let you know the solution several hours later. Thanks for your patience.

      King Regards
      ThemeofWP.com Team

    • #2791
      poweruption
      Member
      Post count: 1

      Hi, I would like to remind you that i’m still waiting for your reply. Thanks. Kind regards.

    • #2793
      Support Team
      Keymaster
      Post count: 748

      Hey, you need to include first this js to your theme:

      download it and move it to your inc/js/ folder:

      https://themeofwp.com/deluxe/wp-content/themes/deluxe/js/mobilemenu/jquery.mobilemenu.js?ver=1.0

      and include it via :

      wp_enqueue_script( 'mobilemenu', get_template_directory_uri().'/inc/js/jquery.mobilemenu.js', array('jquery'), '1.0', true);

      and

      open the cosmos/inc/j/framework.js and paste apropriate line:

      
      	/* Responsive Menu Translation */
      	$('#main').mobileMenu();
      

      you menu will be like deluxe theme.

      King Regards and Sorry for delay.
      ThemeofWP.com Team

Viewing 3 reply threads
  • You must be logged in to reply to this topic.