ROCKETTHEME IS CLOSING ON JUNE 30, 2025. As a thank-you to our community, enjoy 50% off all themes with the promo code THANKYOU before we shut down.
Read our Farewell Blog Post for more details.
SOLVED why “sticky menu" is more difficult on Gantry5 than Gantry4?
Posted 9 years 4 days ago
Today I tested both a Gantry4 tamplate named "Acacia" and a Gantry5 template named "Hydrogen".
In settings of Acacia template, there is an option "Fixed Header" on the "Style" tab, if enabled, the menu loaded on Header position wil be sticky when scrolling the page.
However, there is no similar options for Gantry5 Framework.
I think, why not just add a universal option to Gantry5 "menu manager" , such as "fixed navigation menu", to make it easier? No matter where the main navigation is, when Admin choose "fixed/sticky" option for it, then that menu will be sticky. No need to copy/paste code, no need to install new extension, no need to remember complicated steps, just ONE CLICK and bingo!
Is it possible? Hope you will make Gantry5 more powerful than it is now.
Re: SOLVED why “sticky menu" is more difficult on Gantry5 than Gantry4?
Posted 9 years 4 days ago
Hydrogen is a free template.
You compare apples and oranges really.
The devs try to keep Gantry lean and clean and so this is not a standard option.
Thera are templates that have that option. But i's really easy to add that yourself.
Aslo remember that a niviagtion can pretty much everywhere in Gantry 5. SO a simple standard toggle will never really work 100%.
You always add that as a suggestion on github. But there are so many different concepts and ways to make a navigation sticky ...
SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT
SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT
Re: SOLVED why “sticky menu" is more difficult on Gantry5 than Gantry4?
Posted 9 years 4 days ago
I installed Isotope template rocketlauncher package v1.1.2 on my testing XAMPP server, the /features/overview page is a little different from the page you recommended: the top navigation menu on my testing site is not "sticky all the time", it will disappear when scrolling-down, but if you start to scroll up, the menu will appear immediately. But on your official demo page, that menu is always sticky.
So I have no chance to know how you did that. I can not find the same settings since the two results are totally different.
Re: SOLVED why “sticky menu" is more difficult on Gantry5 than Gantry4?
Posted 9 years 4 days ago
That's how it behaves on the Demo too... does exactly that on the link I posted
That's what headroom.js does by default...
If you want a plain ol' fixed menu then see my previous post about setting the tag attribute on the Navigation Section or see the link to the Callisto Fixed tutorial
SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT
Re: SOLVED why “sticky menu" is more difficult on Gantry5 than Gantry4?
Posted 9 years 3 days ago
Well, after some search on this forum, I found the method of "UIkit particle", under help of this particle, it is very easy to make the top navigation menu "sticky". So I will ignore any other method that let me perform many operations or copy/paste a long piece of code.