Please ensure Javascript is enabled for purposes of website accessibility

Divi | Change Title Text Color on Hover of Module (not just Title Text)

Here is the code to change the H2 (Title Text) element’s color on hover (mouseover) of any part of the Call To Action module.

Without this CSS snippet, the color would only change when the actual Title Text was hovered over:

Give the module a class name: custom-cta

Add this CSS code to your website:

.custom-cta:hover .et_pb_promo_description h2 { color: #fff!important; }