Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Scrollbars for Menus?

  • magisterschwarz

    I have a horizontal menu bar on my class blog. As the year progresses, I’ll have a lot of items in my navigation menus.

    Before I get too far into building my menus, I’d like to know:

    If my menus become very long, will a scrollbar automatically appear inside the menu area (e.g. dropdown panel, sidebar widget)? If not, is there code I can use to include one?

    Or will the extra items just push the menu taller, possibly running off the screen?

    Is there a recommended way to limit menu height and enable scrolling if the content exceeds that limit?

    Any best practices for organizing a large number of menu links to avoid usability issues, especially on smaller screens?

    Thanks!

  • Hi there,

    If my menus become very long, will a scrollbar automatically appear inside the menu area

    No, by default a scrollbar will not appear. Instead, the menu items will wrap to a new line once they exceed the available width of the navigation container.

    Any best practices for organizing a large number of menu links to avoid usability issues, especially on smaller screens?

    We recommend using an off-canvas menu if your navigation contains many links. This approach improves usability, especially on smaller screens, as the entire menu is neatly contained within a slide-out panel—eliminating the need for horizontal scrolling and enhancing accessibility.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.