Background of layout-menu not expanded cover submenu.

Locked
wittakarn
Posts: 2
Joined: 20 Mar 2015, 10:51

05 Jan 2016, 11:52

When submenu had been added until some submenu drop into a new line, The background of layout-menu did not expanded to cover a new line as a below figure.

Image

How can I solve this problem ?

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

07 Jan 2016, 11:26

You need to override the menu's css. Please try the following css code;

Code: Select all

#layout-menu > li:nth-child(15) { /* second Default Pages item */
    clear: both;
}

#layout-menu > li:nth-child(14) { /*menu-separator */
    display: none;
}

#layout-menu > li:last-child { /* search input and button */
    position: absolute;
    right: 0;
}

#layout-menu {
    min-height: 110px;
    position: relative;
}

/* Optional. You can change this css according to your menu.*/
@media (max-width: 1145px){
    #layout-menu > li:nth-child(15) { /* Reset */
        clear: none;
    }

    #layout-menu > li:nth-child(14) { /* Reset */
        display: initial;
    }

    #layout-menu > li:nth-child(13) { /* second Spark Theme item */
        clear: both;
    }

    #layout-menu > li:nth-child(12) { /* menu-separator */
        display: none;
    }
}
Screenshot;
Image

after 1145px
Image

Locked

Return to “Spark”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests