I need to change the menu based on the device.
I need to add an if clause to the menu where if wp_is_mobile() it shows a menu else it shows another, how do I do it?
Hey Guilherme!
Please refer to this post – http://kriesi.at/documentation/enfold/hide-menu-itemselements-on-mobile/
Regards,
Yigit
I need to do exactly the contrary, I need to only display on mobile.
Hi!
Both are covered in the post i posted :)
You can give your menu items custom class “only-mo” and add following code to Quick CSS
@media only screen and (min-width: 990px) {
.only-mo { display: none !important; }}
Regards,
Yigit
Thank you!
Hey!
You are welcome!
For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)
Cheers!
Yigit