Archived topic
Two different nav bar
5 replies · Started by Ermanno on May 30, 2016
Hello Tom, I'm sorry for my english, but I am Italian and I can write it well, I have used for years Genesis and Headway frameworks, and only recently I discovered your fabulous generatepress, I started using it in combination with Beaver Builder, winning combination, other visual composer have too bloated code, I wanted to ask you a suggestion, I should make a site (with generated press) where a part of it, it will be like another site, that I will have the pages and place with a different graphic from 'entire site and also a different navigation bar, for graphics I have no problem, for the bar what tips? I would use the second navigation bar, but does not have a chance to be stiky or you can do? How else could I do? Thanks for any suggestions, ciao Ermanno.
Hi there,
We have our Secondary Navigation add-on, but it currently doesn't have the ability to be sticky.
However, you can try making it sticky with this plugin: https://en-ca.wordpress.org/plugins/sticky-menu-or-anything-on-scroll/
Let me know if that helps or not :)
Thank you so much, you can call up the second nav bar only a few posts and pages, or you have to darken in all except those that we need? I wrote a small article on why I prefer Generatepress other framework if you want to see here is the link: http://www.ermanno.land/blog/addio-genesis-benvenuto-generatepress/
Great article, thank you!
You can do this with our Simple CSS plugin: https://wordpress.org/plugins/simple-css/
In "Appearance > Simple CSS", add this CSS:
.secondary-navigation {
display: none;
}
Then when editing the pages you want the navigation to appear on, add this into the "Simple CSS" metabox:
.secondary-navigation {
display: block;
}
That should do it :)
Update. Worked for me (two sticky header menus).
Glad you got it working :)