Set mega menu dropdown width different from general page canvas site width

Solved4 replies3 participantsUpdated by Tony Rodriguez

XStore documentationHow to build a mega menu in XStore
  • Avatar: kikjou
    Martin
    Participant

    Hello,

    I created 6 columns in a mega menu but understood the max width of the menu dropdown is the same as the site-wide page width which is currently set to 1300 px.

    Can I override the menu width for desktop (change to 1700 px max) without changing the general site width?

    This would give the menu dropdown more space and would not cram it into the general page canvas.

    It is best visible at https://www.pflanzkompass.at/elemente/ when you open den dropdown under “SHOP”.

    Thank you
    Best regards
    Martin

    4 Answers

    Avatar: Ayan Rahman
    Ayan Rahman
    Support staff

    Hi,

    Thank you for reaching out to us.

    Custom CSS code can be used:

    @media only screen and (min-width: 993px) {
        .item-design-mega-menu .nav-sublist-dropdown>.container {
            min-width: 1700px !important;
        }
    }

    Warm Regards,
    The 8Theme Team

    Avatar: kikjou
    Martin
    Participant

    Thank you! Best regards
    Martin

    Avatar: kikjou
    Martin
    Participant

    Thanks for the support! My topic “Set mega menu dropdown width different from general page canvas site width” has been successfully resolved.

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff

    Dear Martin,

    Thanks for being part of our WordPress & WooCommerce community!

    We’re happy we could assist you. Your feedback truly matters — it helps us make XStore better, faster, and more reliable with every release.

    Together, we’re shaping a better WooCommerce experience for everyone.

    Topic closed.
    The 8Theme Team

The issue related to '‘Set mega menu dropdown width different from general page canvas site width’' has been successfully resolved, and the topic is now closed for further responses