[Resolved] Sub-menu two columns

Home Forums Support [Resolved] Sub-menu two columns

Home Forums Support Sub-menu two columns

Viewing 3 posts - 31 through 33 (of 33 total)
  • Author
    Posts
  • #477491
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

    #1019060
    Donna

    I know this is an old thread but wondering if it still works? I want to have a two-column submenu under the Services tab.

    I added the CSS class sub-menu-columns to the parent (Services) and then added this CSS but it’s not working:

    .main-navigation ul ul.sub-menu {
    width: 410px;
    }

    ul.sub-menu li.sub-menu-columns {
    display: inline-block;
    float: left;
    width: 200px;
    }

    ul.sub-menu li.sub-menu-columns:nth-child(odd) {
    float: left;
    margin-right: 10px;
    }

    ul.sub-menu li.sub-menu-columns:nth-child(even) {
    float: right;
    }

    Any thoughts? Thank you so much!

    #1019143
    Leo
    Staff
    Customer Support

    Can you make sure the instructions here are followed?
    https://docs.generatepress.com/article/building-simple-mega-menu/

    If not any chance you can open a new topic and link us to the page in question?

    Thanks ๐Ÿ™‚

Viewing 3 posts - 31 through 33 (of 33 total)
  • You must be logged in to reply to this topic.