- This topic has 9 replies, 2 voices, and was last updated 1 year, 7 months ago by .
- You must be logged in to reply to this topic.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
Hi, I am trying to achieve this:
So when I click on a menu item that has children, I want those children to show underneath the main menu, like a sub menu.
Right now, the theme is just using the rollover effect. I've tried checking the theme customizations but I can't find anything related to the thing I want to achieve. I have also checked how the code is generated and I can see that the sub menu "ul" is located inside the main "ul". Everything would be solved if I could somehow move the sub menu "ul" to be located underneath the main "ul". See link: https://imgur.com/iIdQo1Ohttps://niki.a.vaia.cloud/spela-golf/
The third alternative sounds like the best solution. Do you have some hints on how to do it? Do I have to change something in the nav file? I'm very novice when it comes to hooks and stuff to WordPress. I'm using Infinity via Genesis btw.
My suggestion would be to look at using blocks or a full site editing theme if your coding knowledge is limited.
You can reposition the footer menu back to the after header hook position ( remove PHP code line 152 in functions.php ) however you'll also need to add/modify CSS.
Thanks for the quick answer! I'm gonna try and figure it out!
Okay, the problem with using the footer menu is that it's constant on all pages. How can I fix it so when I arrive on the page Golf, it shows all Golf's children. And when I go to the page About Us it shows its children and so on?
Thanks! Gonna check it out. Now that you mention it, I was actually reading about conditional menus before, so thanks for reminding me 😀
After fiddling around with the functions.php I got it to work, but the problem was that one menu was always showing and it was too complicated to get it to work on every sub-page, so I left it and my solution was using conditional menu plugin. Thank you again!
© 2023 WPEngine, Inc.