Change color text in child div

Ihave one main div that contian another div (child) that contain two rich text.
Now i would like that on hover the main div change color and also the text (ont he rich text element) in the child div change color.

How i can make it? like now only the background of the main div change color, but how i can say with css how to change also the text color of the child div?

Thanks Davide

You can target it with inner selector.

.parentdiv:hover .innerselector {color:#thetextcolor;}
You can do that in custom CSS or pseudo class option.

yes thanks, i resolved !!!

1 Like