[Resolved] Mega Menu won’t appear

Home Forums Support [Resolved] Mega Menu won’t appear

Home Forums Support Mega Menu won’t appear

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2344516
    Dmitrii

    I added the code as per the help doc (https://docs.generatepress.com/article/building-simple-mega-menu/), but can’t get the mega menu to appear. What did I do wrong?

    #2344522
    Fernando
    Customer Support

    Hi Dmitrii,

    There’s syntax error somewhere in your Additional CSS.

    Try copying and pasting your Additional CSS code to a CSS code error checker like http://csslint.net/

    Make the corrections necessary and then see how it goes.

    #2344622
    Dmitrii

    I found the error, all good now!

    One last thing – is it possible to make the column title not change (font) colors?

    Right now when I hover over a sub-menu item (or the column title itself) – it changes colors. I would prefer to have it black and bold at all times.

    I tried following this guide: https://generatepress.com/forums/topic/mega-menu-link-color-and-text-space/ but with no luck.

    #2344696
    David
    Staff
    Customer Support

    Hi there,

    try this CSS:

    
    .main-navigation .main-nav ul li > a:not([href]) {
        color: #000 !important;
        pointer-events: none;
    }

    Any menu item that has no link will be colored black and have the pointer evernts removed.

    #2362184
    Dmitrii

    Worked great, thanks David.

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