Site logo

[Resolved] Size of sub-menu

Home Forums Support [Resolved] Size of sub-menu

Home Forums Support Size of sub-menu

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2283534
    Tan

    I want to adjust sub-menu size of sticky menu equal to sub-menu of primary menu.
    You can see the problem here and here.
    How can I do it?

    #2283698
    David
    Staff
    Customer Support

    Hi there,

    1. change this CSS:

    nav .main-nav .mega-menu > ul {
        position: absolute;
        width: 60%;
        left: 0 !important;
        display: flex;
        flex-wrap:wrap
    }

    to:

    nav .main-nav .mega-menu > ul {
        position: absolute;
        width: 100%;
        left: 0 !important;
        display: flex;
        flex-wrap:wrap
    }

    2. Add this CSS inside your @media query:

    .main-navigation .main-nav>ul {
        position: relative;
    }
    #2284059
    Tan

    Thank you, David. But the sub-menu is too big right now. I just want it small like 60% version.
    Could you help me?
    Thank you.

    #2284281
    David
    Staff
    Customer Support

    Adjust the width: 100%; to suit. I increased it from 60% as the other changes made this size too small 🙂

    #2284352
    Tan

    Thank you so much, David 🙂

    #2284360
    David
    Staff
    Customer Support

    You’re welcome

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