Thumbnail background colour before rollover
-
Hi All,
I hope you can help. I am trying to create thumbnails that have a 70% background colour over the thumbnail image BEFORE rollover rather than after (which can be done easily in the customise section of Lay).
I have tried to write the css but it doesn't seem to work. Below is a link to a faked version (using two images rather than code):
http://www.martinedwardsarchitects.com/overview/Thanks in advance!
M
-
Dear @mike
try to add something like this to your CUSTOM CSS:
.thumbnail-wrap a img { opacity: 0.7 !important; } .thumbnail-wrap a img:hover { opacity: 1 !important; }It is just a quick sketch. But it should do the job.
Best!
Marius
-
-
Dear @mike
ah. I see.
This is not really possible.
You could use CSS with blending modes:
https://css-tricks.com/basics-css-blend-modes/But they don't get supported by all browsers.
Best is to use prepared images.
Marius
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