Site logo

[Resolved] Menu Dropdown ovals extend beyond white background box and do not center

Home Forums Support [Resolved] Menu Dropdown ovals extend beyond white background box and do not center

Home Forums Support Menu Dropdown ovals extend beyond white background box and do not center

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2368946
    Alan

    Hello!

    When you click on the dropdown for our menu, the ovals in the dropdown extend beyond the background box quite a bit and they are also to the right, instead of straight down and centered. Is there a way to correct this?

    #2369147
    Ying
    Staff
    Customer Support

    Hi Alan

    Try this CSS:

    .main-navigation .main-nav > ul ul li a {
        padding: 15px !important;
        max-width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
    #2370056
    Alan

    Thank you so much, Ying! The menu items in the dropdown are now smaller than the main menu. Is it possible for them to be the same size?

    #2370240
    Ying
    Staff
    Customer Support

    In that case, try change the css to:

    main-navigation .main-nav > ul ul li a {
        padding: 15px !important;
        margin-left: -10px;
        margin-right: 10px;
    }
    #2370943
    Alan

    Thank you so much, Ying! I really appreciate your help with this!

    Have a Great Day!!

    #2371361
    Ying
    Staff
    Customer Support

    You are welcome 🙂

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