Delay appearance of Project thumbnail mouseover image
General Discussion
3
Posts
2
Posters
246
Views
2
Watching
-
Hi,
is possible to delay the appearance of project thumbnail images when hovering them?
Is there a special CCS selector for this?Many thanks!
-
just with custom css
this is the ususal css that makes the images show and hide:
.thumb.has-mouseover-img:hover img:first-child { opacity: 0 !important; } .thumb.has-mouseover-img:hover img.mo_thumb { opacity: 1 !important; }you'd need to use a https://developer.mozilla.org/en-US/docs/Web/CSS/transition-delay
and a https://developer.mozilla.org/en-US/docs/Web/CSS/transition -
Thanks!
This code worked for me:
/* delaying the the appearance of project thumbnail mouse hover images */ .thumb.has-mouseover-img img { transition: opacity 1.0s ease; } .thumb.has-mouseover-img img.mo_thumb { opacity: 0; transition: opacity 1.0s ease 0.2s; } .thumb.has-mouseover-img:hover img:first-child { opacity: 0; } .thumb.has-mouseover-img:hover img.mo_thumb { opacity: 1; }
Online Users
Forgot your key, lost your files, need a previous Lay Theme or Addon version?
Go to www.laykeymanager.com