benji_roebuck Posted July 26, 2023 Posted July 26, 2023 Hey @tuanphan would greatly appreciate your help here! I've seen you've helped people out on similar issues but can't find a fix for this specifically. I've added some CSS so any links (text and image blocks) have an opacity hover effect. But now my gallery block content also is affected by the same effect, as if they're links when they're not. Is there a way to keep the link hover but stop it affecting galleries too? This is the code I used: a:hover { opacity: 0.9 ; } And this is the link to my site if you need it: https://chameleon-kangaroo-z3l8.squarespace.com/ PW: onetwo3 Thanks in advance!
tuanphan Posted July 27, 2023 Posted July 27, 2023 Where is gallery block on your site? 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!)
benji_roebuck Posted July 27, 2023 Author Posted July 27, 2023 Ah sorry, its on each project page, e.g. https://chameleon-kangaroo-z3l8.squarespace.com/attainable
Solution tuanphan Posted July 28, 2023 Solution Posted July 28, 2023 Change it to this a:not(.image-slide-anchor):hover { opacity: .7; } 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!)
benji_roebuck Posted August 1, 2023 Author Posted August 1, 2023 @tuanphan – perfect, thanks so much! tuanphan 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment