[Resolved] 8 Column Mega Menu

Home Forums Support [Resolved] 8 Column Mega Menu

Home Forums Support 8 Column Mega Menu

Viewing 7 posts - 16 through 22 (of 22 total)
  • Author
    Posts
  • #1530869
    David
    Staff
    Customer Support

    Change the CSS for this:

    @media (min-width:1024px) {
        .main-nav > ul > li:nth-child(7) {
            margin-left: 80px;
        }
    }
    
    @media (max-width:768px) {
        .main-nav > ul > li:nth-child(7) {
            margin-left: auto;
        }
    }

    It will only apply to the top level navigation

    #1531615
    troyw

    Absolutely perfect David. Thanks so much

    #1531868
    David
    Staff
    Customer Support

    Glad to hear that

    #1536936
    troyw

    So sorry David, one more thing.
    I have changed the top of menu text color to yellow on the mega menu, which is exactly how I want the mega menu to look. However, this has also changed the text color for all the normal drop down menus.

    Am I able to make the normal menu drop down text white, but not effect the yellow in the Mega menu?

    Thanks

    #1537179
    David
    Staff
    Customer Support

    Change your CSS to this:

    .main-navigation .main-nav > ul > li.mega-menu > ul > li > a {
        background-color: inherit;
        font-size: 14px;
        color: #F4C424;
    }

    Note this part: li.mega-menu it means it will only apply to the mega-menu drop downs.

    #1538196
    troyw

    Thanks David, that worked great.

    #1538564
    David
    Staff
    Customer Support

    You’re welcome

Viewing 7 posts - 16 through 22 (of 22 total)
  • You must be logged in to reply to this topic.