New Landing How can we help? Themeforest Theme Support Dante Why does the mega-style menu always have 4 columns?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Dante
  • #232357
    lbdesign
    Member
    Post count: 136

    This subsection of the menu only has 2 main topics, yet the dropdown menu leaves room for 2 more columns, so it’s got a blank area and looks unbalanced. Is there a way to only display as many menu columns as necessary?

    http://www.learnfromyourlife.com/im2/for-patients/appointments

    thanks
    –Lee

    #232374
    lbdesign
    Member
    Post count: 136

    I read the docs and found the hidden CSS class to control the # of columns. But this dropdown at 3 columns is too wide. I chose “Natural width”, which I thought was meant to make it narrower to suit the # of columns?

    http://www.learnfromyourlife.com/im2/medical-services

    #232386
    lbdesign
    Member
    Post count: 136

    example

    Attachments:
    You must be logged in to view attached files.
    #232713
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Can you please test this CSS, if you want a natural width that is:

    nav.mega-menu li .sub-container {
        width: auto!important;
    }
    
    nav.mega-menu li .mega .sub, nav.mega-menu li .mega .sub > .row {
        width: auto!important;
    }
    
    nav.mega-menu li.sf-mega-menu-3col .sub li.mega-hdr {
        width: auto!important;
    }

    Thanks.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register