This tutorial is about getting Slide Toggle Primary Navigation Menu in Genesis by clicking an icon to work in Altitude Pro.
Applying my previous tutorial to Altitude Pro is tricky due to the following reasons:
- Header Right is unregistered
- Primary Navigation is relocated to Header
- Fixed Header
Here's the plan of action:
- Get Header Right widget area back
- Remove Primary Nav from Header
- Add Primary Nav above Header
- Wrap the Primary Nav and the Header in a custom div.nav-header-wrap and make this div fixed
- Remove the dark class from .site-header upon scrolling down and add it instead to .nav-header-wrap
- Delete the mobile responsive jQuery code built into the theme (which is set to trigger at 800px)
- Set span.menu-toggle (to be placed in a text widget in Header Right widget area) to slideToggle Primary Nav
Step 1
Edit functions.php.
Comment out or delete
To view the full content, please sign up for the membership.
Already a member? Log in below or here.
Will this work with Parallax Pro Theme?
Thank you!
Barbara
Not without modifications.
You’d need to study how this and http://sridharkatakam.com/how-to-slide-toggle-primary-navigation-menu-in-genesis-by-clicking-an-icon/ are put together, how the code is working and adapt it to Parallax Pro.
Great tutorial. I was final able to add it to my test site last night.
http://nalan.org/
I’m working out the colors for the front page and the rest of the theme now.
A+
-Scot
When i click on login i get the contact page
http://altitude-menu-toggle.websitesetuppro.com/contact/
when i then click on menu , the menu has a white background
how to solve ?