mouseover images for social media icons
-
http://wordpress.p147291.webspaceconfig.de/
Hey there, I'm working on this site right now and the two logos in the upper right corner need to change to their original color when hovering over.
I placed them with the social media element using svgs. I'm looking for a simple solution, if this means adding them in another way, fine with me. The social media icons are practical though because you can set the height easily.
Any tipps welcome. Thanks.
Ben

-
@doorofperception what would be the "original" color? Because the UdK svg is violet by default. you can add a hover css with filter: brightness(0); to make them black so it fits to the rest. something like that:
.lay-socialmedia-icons img:hover{ filter: brightness(0); } -
That's actually a cool idea. Ideally I wanted to show a completely different file because it has two colors but I think I go for this solution because it's so simple :)
Thanks.
-
nice website!
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