Image Hover Add-on: apply CSS box-shadow Property?
-
Hello Lay Theme crew,
Thanks for the Image Hover Add-on: I've been waiting for something like this, it's great.
If I wanted to add a drop shadow to the hover image (e.g. with CSS box-shadow property), how would you suggest that I apply it with custom CSS?
Big thanks!
-
Dear @Georges
Is this what you are after?
In this quick example i have added a box-shadow to the hover image:
Using the inspect tool i have looked through the code of my website and found the Hover image that we are looking for -

Here is a Link to more information on using the Developer inspection tool if you need it :)
Then once i have found what i am looking for i can create CSS that targets it:

This is a Red box but i did it for visual impact to help
I hope this sets you in the right direction :)
All the best
SincerelyRichard
-
Hello Richard,
Very big thanks for looking into my request here, apologies for my slow reply. This is what I'd been looking for, my attempts at viewing source and trying to work out how to affect the image hover hadn't quite gotten to where you did. I'll give it a try!
Thanks again!
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login