Archived topic
Menu Question for tweak
6 replies · Started by Anastasia on February 20, 2023
Greetings everybody.
I'd like to ask if I can achieve a tricky customization I'm trying to create.
I have set the mobile menu to be triggered in 2540px since I need the utility both in desktop & mobile views. Everything works fine in that. Although when the screen resolution is lower than 1280px I need to load a different menu. Is that somehow doable? If you considering to advice me to use the Mobile Menu option by enabling it from functions.php is not an option since as I wrote above I use the mobile view of header to desktop as well.
I just need to swap into different menus while keeping everything else as they are.
Hi there.
how much of the menu changes between those screensizes ?
As the simplest option would be to use CSS to hide / show the different menu items.
Let me know
I thought that as well. Although the tweaking I've made in the mobile menu is quite a lot. Plus the elements I need for the 2nd menu that triggers bellow 1280px are quite different comparing to the one that works from 1280px and above.
Hi Anastasia,
For reference, can you provide the link to the site in question?
You may use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
Here you are Fernando.
Never mind actually I found another way to make what I need to. Found a solution :D Thanks a lot for your time Fernando.
I see. Glad you found a solution! You're welcome, Anastasia! :)