- This topic has 4 replies, 2 voices, and was last updated 7 years ago by .
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.
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.
Tagged: mobile menu
I am not using the default "Header Menu" in Showcase pro, but instead, I'm using the "Page Header Menu" positioned below the hero image. I need some help getting the mobile menu to work with this menu. By default, it only works with the "Header Menu" location. Thanks in advance.
because it's in staging, you'll need to type a username and password to see it:
You will notice in your reponsive-menu.js file that showcase.init is looking for
$( '.nav-primary' ).before( toggleButtons.menu ); // add the main nav buttons
Try changing it with
nav-secondary and any other instance of
Let me know if that works. 🙂
Genesis Customization Service | Quick fixes whenever you need them ! | Contact me at Fixmysite.com !
Thanks, William, that almost did it!
I had to go into the style.css and change the Responsive Menu section to also replace .nav-primary with .nav-secondary. The hamburger shows up now, but when I click on it I only see the first menu item and none of the others, and I can't scroll through them either. so I'm kind of stuck.
Can you help me sort out the CSS so that it works right?
Thanks for the suggestion, I thought it was a great idea...but it didn't work. 🙁
The way the menus are done in this theme are not the standard StudioPress way. I thought I could account for that and still make your suggestion work, but I couldn't. One odd thing is that all of the front page widget content comes before the genesis_before_content_sidebar_wrap hook, so I don't see a way to position the menu where I want it. I tried to replace genesis_do_subnav() with genesis_do_nav() in the page-header.php file (after also changing the necessary lines in functions.php) but nothing showed up at all. Because it's done so differently from the standard, I think you'd have to look at the theme to figure out how to do it.
So I'm still stumped! I appreciate you taking the time to help me.
© 2023 WPEngine, Inc.