New Landing How can we help? Themeforest Theme Support Dante How do we increase the width of the sub-sub menu?

Viewing 11 posts - 1 through 11 (of 11 total)
  • Posted in: Dante
  • #127180
    sakirose
    Member
    Post count: 96

    How do we increase the width of the sub-sub menu?

    See link below for problem:

    #127181
    sakirose
    Member
    Post count: 96
    This reply has been marked as private.
    #127222
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this custom css code:-

    nav.std-menu .menu ul li > a, nav.std-menu .menu ul li > span.title{
    width:225px !important;max-width:60ppx !important;
    }
    
    nav#main-navigation .menu ul.sub-menu ul.sub-menu{
    width:300px !important;
    }

    Thanks
    Mohammad

    #127235
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    You may try this in the Theme Options -> Custom CSS.

    nav.std-menu .menu ul.sub-menu { min-width: 220px; }

    Edit: Ah, Mohammed beat you, you can use any of the solution. Thanks 😉

    Let us know,

    Thanks,
    laranz.

    #127780
    sakirose
    Member
    Post count: 96
    This reply has been marked as private.
    #127791
    sakirose
    Member
    Post count: 96

    Also…how can the sub-menu items be left aligned?


    I tried Mohammed’s and it’s better, but too wide at times. Is there a way to have it be sized based upon the amount of text with a maximum?

    See link below:

    https://dl.dropboxusercontent.com/u/52916400/menuwidth.png

    #127852
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    My colleague Kyle will assist you shortly.
    Thanks
    Mohammad

    #128063
    sakirose
    Member
    Post count: 96

    That would be great!

    #128518
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    This is complicated because the 2level and 3level menu items have the same css class and it’s difficult to target.

    One idea is to assign an extra css class in the menu items of the 2nd and 3rd levels.

    For that I will need admin acess to assign the extra css class and create the custom css code.

    -Rui

    #131084
    iraqiboy90
    Member
    Post count: 3

    You may wanna add this as well:

    nav#main-navigation .menu ul.sub-menu ul.sub-menu {
    left: 99%;
    }

    Otherwise, once you mouse hits the crack between the dropdown menu and the submenu, it will disappear.
    Was scratching my head for few hours because of this

    #131247
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    @iraqiboy90 – Thanks for your help.
    Mohammad

Viewing 11 posts - 1 through 11 (of 11 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