Home › Forums › Support › Hide nav & top menu, logo until scroll › Reply To: Hide nav & top menu, logo until scroll
June 8, 2016 at 12:07 am
#200199
Tom
Lead Developer
Lead Developer
Add the .home class in front of all other classes (starting with a period) to target only the homepage. You’ll want to do this in the javascript and the CSS.
For example: $header = $('.home .site-header')
And: .home .site-header
The primary navigation is being targeted with the above code using the .main-navigation selector.