Your account expired support, please renew to get your support.

Home Forums Themes Support Claue Different Mobile Menu

Viewing 9 reply threads
  • Author
    Posts
    • #37072
      atdesignsgr
      Support Expired

      Hello,

      is it possible to have a different menu in mobile devices than the desktop one?

      In mobile I want to add some more links in order to be easier to navigate.

      Thanks in advance.

    • #37073
      Harry
      Support Expired

      Hi Atdesignsgr,

      1. Please add below code to claue-child > functions.php

      if ( ! function_exists( 'jas_claue_child_setup' ) ) {
          function jas_claue_child_setup() {
              register_nav_menus(
                  array(
                      'mobile-menu' => esc_html__( 'Mobile Menu', 'claue' ),
                  )
              );
          }
      }
      add_action( 'after_setup_theme', 'jas_claue_child_setup' );

      2. Download attach file, extract and put in claue-child > views > header

      3. Go to Apperance > Menus > create menu and assign it to Mobile Menu.

      Kind regards

      Attachments:
      You must be logged in to view attached files.

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #37078
      atdesignsgr
      Support Expired

      Hello and good morning, thanks for the quick answer.

      Added the code to the functions.php file, and now I see the Mobile menu option when I want to assign a menu in Appearence – Menu.

      For the attached file I had to create the folders views/header since they didn’t exist. Added the file there, and refreshed the site many times but still I don’t see the new menu I created in my device.

      Thanks in advance.

    • #37091
      Harry
      Support Expired

      Yes, you have to create 2 folder views in claue-child and header in views.

      Did you try active claue child in Appearance > Themes.

      If issue still there please send me login credentials and check in Set as private reply. We will check and help you solve problem.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #37102
      atdesignsgr
      Support Expired
      This reply has been marked as private.
    • #37107
      Harry
      Support Expired

      Hi,

      The issue because you use header layout 4. Please copy file layout-4.php from claue > views > header to claue-child > views > header and change code on line 140 from

      'theme_location' => 'primary-menu',

      to

      'theme_location' => 'mobile-menu',

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #37123
      atdesignsgr
      Support Expired

      Thanks a lot, that was the case, everything works perfectly now.

    • #37133
      Harry
      Support Expired

      You are welcome! Have a nice day!

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #44279
      maria
      Support Expired
      This reply has been marked as private.
    • #44282
      Harry
      Support Expired

      Hi,

      Please try contact to plugin author for mobile menu support

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

Viewing 9 reply threads

You must be logged in to reply to this topic.