Thumbnail background colour before rollover
General Discussion
4
Posts
2
Posters
703
Views
1
Watching
-
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
Online Users
Forgot your key, lost your files, need a previous Lay Theme or Addon version?
Go to www.laykeymanager.com