-
AuthorPosts
-
March 13, 2017 at 3:45 pm #760044
Hey there,
I want to have another main menu on mobile than on desktop. I already created both menus and set the one for desktop as main menu.
Is there a possibility to enter a code snippet in the Quick CSS to achieve this?
I also want the menu links from subpages not to show on desktop. So instead of showing the submenu a click on the main menu item should redirect to the page it links to. It’s working fine for Firefox but not for other browsers. How can I manage this?Thanks in advance.
Best regards.- This topic was modified 7 years, 9 months ago by ping-pong.
March 15, 2017 at 12:18 pm #761346Hey ping-pong,
Please refer to this post – http://kriesi.at/documentation/enfold/hide-menu-itemselements-on-mobile/
Best regards,
YigitMarch 18, 2017 at 4:26 pm #762913Hey,
it works perfectly fine to hide the menu items – thank you!
But as mentioned before in every other browser than Firefox (at least of those I tested) a click on one of the horizontal menu items now doesn’t do anything because it would open the submenu but I’d want it to redirect to the page that’s behind the link as it does in Firefox.
I don’t understand why it’s working perfectly fine in Firefox but not in other browsers… (Links etc in private content section.)
Can you help me with this?Regards.
March 22, 2017 at 3:22 pm #764813Hi,
since when does this issue happen?
Please deactivate all plugins one by one to check which one is causing this issue and let us know if this solves the problem.
If that doesn’t help, then please post us your login credentials (in the “private data” field), so we can take a look at your backend.
Login credentials include:
- The URL to the login screen.
- A valid username (with full administration capabilities).
- As well as a password for that username.
- permission to deactivate plugins if necessary.
Best regards,
AndyMarch 22, 2017 at 4:19 pm #764847Hey,
I don’t know since when this issue happens because I’m always working in Firefox where everything is fine. As already said this issue only occurs in other browsers (I’ve tested it with Internet Explorer, Chrome and Edge) than Firefox.
I’ve deactivated all plugins step by step but that didn’t solve the problem. :(
Login data is in the private content.Best regards.
March 24, 2017 at 2:20 pm #766189Hi,
have never seen this kind of issue before. There might be some corrupted files, so please delete all theme files completely via FTP, before installing a fresh copy from your themeforest account. Here is a short tutorial on how to install the theme via FTP, in case you are not sure how that works:
Best regards,
AndyMarch 24, 2017 at 6:28 pm #766331Hi,
thank you for your reply. I’ve reinstalled enfold via ftp but the issue is still there.
I’ve got a clue wherefrom it comes. The horizontal menu has far more items than those shown, only that I deactivated them with a custom css class “only mobil” like Yigit proposed earlier in this thread.
My plan now is to delete these menu items so that there are only the now shown items left. Then the menu works. But then I again have the problem that I need a different menu for mobil version.
Isn’t there any possibilty to set a different menu through Quick CSS or a custom CSS in functions.php with the code@media only screen and (max-width: 910px) { }
where it is defined which menu should be used?
Thanks in advance!
Best regards.March 27, 2017 at 12:45 pm #767380Hi,
I checked again your website and it seems to work fine now. Could you fix it?
Best regards,
AndyMarch 27, 2017 at 2:46 pm #767452Hi,
it only works fine because now the horizontal menu doesn’t have submenu items in it. So a click on the menu item can’t affect anything else than redirect to this page.
But now my problem is, as mentioned in my last post, that the mobile menu is the same as the horizontal ones but I’d need it to be one menu with all the menu items from the horizontal (including links to subpages) and sidebar menu :(
So again my question:
Isn’t there any possibility to set two different menus, one for desktop and one for mobile version?Best regards.
March 27, 2017 at 6:52 pm #767628Hi,
you could try this solution: https://kriesi.at/support/topic/different-menu-on-mobile-view/
Best regards,
AndyMarch 28, 2017 at 12:34 pm #768085Hi,
we’re somehow going in circles…
With this solution I’ve got the problem that the items of the horizontal menu aren’t clickable because the menu would want to open the submenu which elements all are hidden. So instead of redirecting to the link behind the menu item there isn’t happening anything…
RegardsMarch 29, 2017 at 2:34 pm #768831Hi,
can you be more clear/specific please? about which menu are you talking about which is not working? please always provide us a precise link and a screenshot highlighting what you’re talking about.
I checked your mobile menu, but it seems to work fine for me and I can’t see any issues.
Remember to check if you’ve got correct settings in:
Enfold->Header->Mobile Menu->”Hide Mobile Menu Submenu Items”Best regards,
AndyMarch 30, 2017 at 2:30 pm #769482Hi,
I’m sorry for not having it explained properly.I’d want to have menu A (including the items of the fullwidth submenus) and menu B together in one mobile menu. See pictures for menus. So I think I’d have to load another menu when on mobile than when on desktop?
menu A+B
fullwidth submenusThe other option would be to hide the menu items on desktop and show them on mobile as you already explained to me but then there’s the issue (I already mentioned it) that in other browsers than Firefox the horizontal menu items won’t redirect anywhere. I think that’s because a click on it would normally open the submenu which is hidden and thus not opening. (That would be when the menu “Menü_horizontal” would be set as main menu. You can try it if you want to with the provided login data.)
It somehow seems like I’d either be able to have a well functioning desktop menu or a well functioning mobile menu but not both at the same time.
Best regards and in advance thank you very much for your efforts!
- This reply was modified 7 years, 8 months ago by ping-pong.
March 31, 2017 at 3:48 pm #770021Hi,
I think for this kind of function you need to search a plugin like for example: https://wordpress.org/plugins/wordpress-mobile-pack/
Best regards,
AndyApril 2, 2017 at 2:48 pm #770628Hey,
thanks a lot! I found the plugin WP Mobile Menu and it works perfectly fine.
Just one other question:
Can I deactivate Enfold’s mobile menu completely? I only found the possibility to activate it for smartphones or for tablets and smartphones.Best regards!
April 4, 2017 at 12:44 pm #771712Hi,
try this code inside Quick CSS field:
#advanced_menu_toggle, #advanced_menu_hide { display: none !important; }
Best regards,
AndyApril 5, 2017 at 10:51 am #772388Hi Andy,
It’s working – thank you very much for all your help! :)
You’re great!Best regards.
-
AuthorPosts
- The topic ‘Other menu on mobile than on desktop’ is closed to new replies.