Need help... Drop down menu

What is the class I add to control the background of my drop down menu?

Same with font features
Especially the hover background.

:man_shrugging:

Thank you so much, Pete
Does that custom class control all the things I ask for?

Try it. Experiment.

1 Like

I tried all 3 of them. Something is controlling the mouseover when the dropdown menu opens. The color is white when I take the cursor over the items below. None of the 3 custom classes changed the color. I just need to make the mouseover background black.

What does the browser inspector show you?

Thank you, Pete
It looks like the class is dropdown-item-hover

Zoom in, you will see hover is the pseudo. So don’t add that to the class name.

What’s helpful with the inspector if you look you will see the css class is in the bootstrap css file, so you know you don’t have a class in the class manager causing the problem.

Okay, are you saying this has to be turned off? If so, and there is no class, how do I control the color within Blocs?

See Pete’s left red arrow (I think). Leave out ‘hover’

1 Like

This bit, just allows you to simulate states. I used it to find the class creating the styles for the hover.

1 Like

Thank you, Pete, I was able to locate the class a-block. Added that and it worked.

I would use .dropdown-item.

Sorry the arrow was just pointing to the element not the class. I didn’t mean for it to specifically point there :joy::man_facepalming:

a-block maybe used elsewhere. Unless you have other unique drop-down navigations you should be fine with .dropdown-item