Hello, I’m trying to add a translucent color overlay (in my case navy blue at 0.3 opacity) to the promo boxes, so that when you hover over any part (image or text box) of the image, the overlay will be activated. The blue overlay is showing, but only to the padding within the text box – not the image nor the entire text box as in the following screen capture:
Also, if you hover over the text portion, it’s a deeper blue as you’ll see in the screen capture (so strange)…
but really I just want a single color during the hover. Here’s the code that I’ve inputted in the page’s Custom CSS:
.x-promo:hover {
background-color: rgba(7,52,76,.5);
}
.x-promo-content:hover {
background-color: rgba(7,52,76,.2);
}
I tried looking at several articles (the closest one is: https://theme.co/apex/forums/topic/hover-over-image-to-make-it-show-an-icon-color/), but it is not exactly the same situation, as I want the hover to apply to the entire box (whereas they want the background color of their text to remain white). After 2 hours of searching, cannot seem to find the solution. Can you tell me what I am doing wrong?