Issue with Scrollable “All Departments” Menu – Nested Mega Menus Getting Cut Off

This topic has 4 replies, 2 voices, and was last updated 2 months, 2 weeks ago ago by Jack Richardson

  • Avatar: Papuna
    Papuna
    Participant
    July 9, 2025 at 14:12

    Hello XStore Support Team,

    I’m currently using the “All Departments” menu inside the header area of my website, and I’ve run into a display issue that I need help resolving.

    I have 20+ categories listed inside this dropdown, and because of the large number, I want to make the menu scrollable so all categories remain accessible on smaller screens. I tried adding a scroll (with max-height and overflow-y: auto), and it works partially — the menu becomes scrollable as intended.

    However, the issue is that many of these categories contain nested mega menus, and once I apply scrolling, these mega menus are getting cut off or not visible properly when hovered. It seems like they are being confined within the scrollable container, and I can’t figure out how to make them appear outside the scroll area without breaking the layout.

    Summary of the issue:
    Using XStore’s “All Departments” menu with 20+ categories

    Added vertical scroll to fit the long list

    Nested mega menus don’t display properly — they get clipped inside the scroll area

    Can you please advise the proper way to:

    Enable vertical scroll for the “All Departments” dropdown

    Make sure the nested mega menus remain fully visible and don’t get cut off

    Let me know if you need a link to the site or admin access.
    Looking forward to your assistance!

    Best regards,
    Papuna Tskhvediani

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 10, 2025 at 06:58

    Dear @Papuna,

    Thank you for reaching out.

    Unfortunately, there is no ready-made solution available at this time. However, we kindly suggest limiting the number of items in your “All Departments” menu to ensure that all entries are visible and the mega menu displays correctly.

    Best regards,
    The 8Theme Team

    Avatar: Papuna
    Papuna
    Participant
    July 10, 2025 at 09:18

    Dear 8Theme Team,

    Thank you for your response.

    I’ve been using the XStore theme for quite a while now, so I’m aware that this feature is not a built-in toggle. My question was more about how I can implement such a scrollable “All Departments” menu myself.

    Could you please guide me on which file(s) or part of the theme I should modify to adapt this functionality manually, without affecting the mega menu display?

    Looking forward to your advice.

    Best regards,
    Papuna

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 10, 2025 at 15:37

    Hello @Papuna,

    Thank you for reaching out.

    Please note that the content of the menu in question is located within the XStore Core plugin files and, unfortunately, cannot be modified through child theme file overrides. Therefore, if you wish to make any changes directly to the plugin files, please be aware that your customizations will need to be reapplied after each plugin update.

    The specific function responsible for this menu is:
    all_departments_menu_callback() located in the following file path:
    et-core-plugin/app/models/customizer/theme-options/global/callbacks.php

    Should you have any further questions or need assistance, please do not hesitate to contact us.

    Best regards,
    Jack Richardson
    The 8Theme Team

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.