New Landing How can we help? Themeforest Theme Support Dante Center menu in Dante Version: 3.18

Viewing 2 posts - 1 through 2 (of 2 total)
  • Posted in: Dante
  • #232632
    9o-iT
    Member
    Post count: 12

    Hey Guys,

    Trying to center my menu with header type 1. Strange thing also, with header 1 and 2 the menu is on the right side ( instead of the right side as in the example, and the menu text goes over the search button )

    Custom CCS I’m using at the moment:

    
    nav .menu li.current-menu-ancestor > a, nav .menu li.current-menu-item > a, #mobile-menu .menu ul li.current-menu-item > a, nav .menu li.current-scroll-item > a {
        color: #114e93 !important;
    }
    
    nav#main-navigation .menu > li, .header-4 #main-navigation .menu > li, .header-5 #main-navigation .menu > li, .header-7 #main-navigation .menu > li {
      padding: 0 20px 20px;
    }
    
    
    #232634
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    You would need this:

    nav#main-navigation ul.menu {
        float: none;
        display: inline-block;
        width: 100%;
        text-align: center;
    }
    
    .header-1 nav#main-navigation .menu > li {
        padding: 0 10px 4px;
        text-align: center;
        float: none;
        display: inline-block;
    }

    Thanks.

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