Site logo

Archived topic

Trying to change background and text color in mobile sub menu

5 replies · Started by unoaime on January 15, 2021

Viewing posts 1–6 of 6

Looked in customize > colors and couldn't find anything.

Tried

.mobile-menu #sub-menu ul li {
background-color: white;
}

to test and nothing happens. Fiddled about it chrometools inspect aswell and couldn't figure it out.

Hi there,

try this CSS:

.slideout-navigation.main-navigation ul ul {
    background-color: #fff;
}

Works a charm. Just wondering what the correct syntax is for changing the hover text color

.slideout-navigation.main-navigation ul ul li:hover {
		color: #0a508c;
}

doesn't work

Hi Chris.

Try this:

.slideout-navigation.main-navigation ul ul li a:hover {
    color: #0a508c;
}

Sadly didn't work. Something must be overwriting it somewhere. :/

Try:

.slideout-navigation.main-navigation ul ul li:hover a {
    color: #0a508c;
}
This archived topic is closed to new replies.