Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When having about 9 different categories and each category has about 10-12 different items, it seemed scrolling up back to top for the main menu is not really friendly. So if you can change the menus to move along to each select category or sub menus would be nice.
Comments
Comment #1
shadcn CreditAttribution: shadcn commentedCan you send me a screenshot for this?
Comment #2
fdoan CreditAttribution: fdoan commentedLet say when user click on the menus and go to the menu page (image menu1.jpg) then click on the "Seasonal Specialties" link. It will take the user down to the "Seasonal Specialties"... but if the user wanted to go some where else, he/she has to scroll up or down... So, I think it is best to move the main menus links along with the active display as show in the ideal.jpg
Thanks!
Comment #3
shadcn CreditAttribution: shadcn commentedAgreed. This is an important UX improvement. Making this a priority.
Comment #4
dropper.x CreditAttribution: dropper.x commentedI have found a Drupal module that will work: Floating Block
I added a CSS Style ID on the Structure, Pages, page-menus, Content, gear icon for Menu Categories Jump Navigation. Mine was 'menu-fixed'.
Then in Configuration, User Interface, Floating block, I added: .menu-fixed|padding_top=2
Note: This did not work well with the Menu Categories: Menu Categories, as after you went in there, it lost the CSS ID, since it is a different structure.
See this thread to make it work for responsive themes: https://www.drupal.org/node/1978790#comment-8579339