Home › Forums › Themes Support › Claue › Different Mobile Menu
- This topic has 9 replies, 3 voices, and was last updated 10 months, 3 weeks ago by Harry.
-
AuthorPosts
-
-
June 25, 2020 at 12:53 am #37072atdesignsgrSupport 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.
-
June 25, 2020 at 1:19 am #37073HarrySupport 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 -
June 25, 2020 at 11:18 am #37078atdesignsgrSupport 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.
-
June 25, 2020 at 7:41 pm #37091HarrySupport 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 -
June 25, 2020 at 10:17 pm #37102atdesignsgrSupport ExpiredThis reply has been marked as private.
-
June 25, 2020 at 10:55 pm #37107HarrySupport 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 -
June 26, 2020 at 3:22 am #37123atdesignsgrSupport Expired
Thanks a lot, that was the case, everything works perfectly now.
-
June 26, 2020 at 7:40 am #37133HarrySupport 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 -
January 28, 2024 at 10:27 pm #44279mariaSupport ExpiredThis reply has been marked as private.
-
January 31, 2024 at 8:36 pm #44282HarrySupport 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
-
-
AuthorPosts
You must be logged in to reply to this topic.