RSS
RSS

Jak wycentrować wysuwane podmenu pod elementem nadrzędnym?


Kategorie: Wszystkie

0

Aby wyśrodkować menu podrzędne (submenu) pod elementem nadrzędnym (np. w motywie betheme, należy użyć kodu):

ul.menu > li > ul {  /* Center submenu under main menu elements */
    clip: inherit !important;
    overflow: inherit !important;
    height: inherit !important;
    transform: translate(-50%, 0) !important;
    left: 50% !important;
}

Komentuj

Subscribe without commenting