How to keep the link text color to the hover state color when the dropdown is open?

When the mouse is hovered over the navigation bar link the link turns red.
This link is attached to a dropdown which opens on hover.
I would like it to remain red as long as this dropdown is open, even when the user is not hovering.

The style inheritance wont work from the “Dropdown” to the “Nav Link Dropdown”, only directly adding a style to the “Nav Link Dropdown” will edit its text color. Removing the color from Nav Link Dropdown text reverts the color to the default dropdown text color (gray) even though there is white applied to “Dropdown” text color.

Your help is greatly appreciated!

Screenshot 2023-05-24 014243 - Copy
Screenshot 2023-05-24 014518 - Copy

Can you share a read-only link?

Here’s the link, sorry for the delay:

I got it… I was trying to apply a background color change for the “Open” Style selector on a “Dropdown” but its only available on the “Dropdown Toggle”…

1 Like