-
AuthorPosts
-
November 29, 2016 at 12:34 pm #718197
Hi everyone,
I would like to change the menu on mobile.
I read this page:But actually it doesn’t work, as you can see:
take a look at how I set the menu:
http://www.centrocommercialemorbella.com/wp-content/uploads/2016/11/Schermata-2016-11-29-alle-11.32.37.png
How can I fix this problem?I have the same problem on another website i’m building with enfold.
ThanksNovember 30, 2016 at 11:22 pm #719026Hey marcomila,
Please refer to this post – http://kriesi.at/documentation/enfold/hide-menu-itemselements-on-mobile/
Best regards,
YigitDecember 2, 2016 at 12:09 pm #719624Hi,
I think I didn’t explain me good.
My question is how to show another menu on mobile version (there is a guide here: http://kriesi.at/documentation/enfold/changing-the-menu-on-mobiles/ but it doesn’t work.)The post you linked shows how to hide some elements on mobile version, but I want to have another menu.
Let me know.
cheersDecember 6, 2016 at 4:27 pm #721120Hi,
Please make sure that you have created two different menus in Appearance > Menus. Then add following code to Functions.php file in Appearance > Editor
function avia_change_mobile_menu( $args = '' ) { if(wp_is_mobile() ) { $args['menu'] = 'main-menu-two'; } else { $args['menu'] = 'main-menu'; } return $args; } add_filter( 'wp_nav_menu_args', 'avia_change_mobile_menu' );
Best regards,
YigitDecember 7, 2016 at 12:39 pm #721448Hi,
the code you posted doesn’t work.
As you can see in the screenshot I posted in my first post, I created 2 different menus in Appearance > Menus.
I suggest you to find a solution for this important bug.
ThanksDecember 7, 2016 at 4:12 pm #721548Hi,
First of all, this is not a bug but customization. Second of all, post from our documentation was deprecated and we have removed it. If the solution i posted above does not help, please consider to hire a freelance developer or feel free to request such feature here – https://kriesi.at/support/enfold-feature-requests/
Best regards,
YigitDecember 7, 2016 at 4:38 pm #721577It was on the theme documentation, so I think it’s not customization, but a function of the theme.
Anyway I’ll do by myself.
CheersDecember 7, 2016 at 4:52 pm #721581 -
AuthorPosts
- The topic ‘Menu Mobile’ is closed to new replies.