Deuter Posted September 10, 2021 Share Posted September 10, 2021 Site URL: https://www.51eggs.com Hello, I have a series of images with Caption Overlay on Hover on my home page, which I've managed to change the size of the overlay (previously covered 1/4 the lower portion of the image on hover) to cover the full width of the image, using the .image-caption selector. I would like to lighten up the built-in overlay a bit, but am having trouble targeting it. Adjusting the opacity of .image-caption works, but it makes the captions within the overlay semi-transparent as well. Any suggestions? Thank you! Link to comment
tuanphan Posted September 11, 2021 Share Posted September 11, 2021 Hi, You want to disable default overlay or? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Deuter Posted October 5, 2021 Author Share Posted October 5, 2021 Not disable it entirely, just turn down the opacity of the overlay a little bit. It's a bit too dark. Link to comment
tuanphan Posted October 7, 2021 Share Posted October 7, 2021 On 10/6/2021 at 2:00 AM, Deuter said: Not disable it entirely, just turn down the opacity of the overlay a little bit. It's a bit too dark. Add this to Design > Custom CSS. 0.25 is opacity .image-block-outer-wrapper:not(.image-block-v2).layout-caption-overlay-hover .image-caption-wrapper { background: rgba(0,0,0,0.25) !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Deuter Posted October 7, 2021 Author Share Posted October 7, 2021 @tuanphan Perfect! Thank you so much! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment