- This topic has 3 replies, 2 voices, and was last updated 6 years, 3 months ago by
mila_support.
- AuthorPosts
- February 15, 2017 at 17:27 #12616
AnonymousInactiveHi everyone !
I’d like to know if there is a way using a CSS Code to have a greyscale effect on my gallery and to show the images with the colors when hover.
I have this CSS code right now but it’s actually not working (works but the color effect when hover only last if the mouse doesn’t move)
.grid-gallery-photos img {
filter: grayscale(80%);
-webkit-filter: grayscale(80%);
-moz-filter: grayscale(80%);
-o-filter: grayscale(80%);
filter: gray
-webkit-transition: all 0s ease;
transition: all 0s ease;
-moz-transition: all 0s ease;
-o-transition: all 0s ease;;}
.grid-gallery-photos img:hover {
filter: grayscale(0%);
-webkit-filter: grayscale(0%);
filter: none;}
Any suggestions ?
Thanks !February 16, 2017 at 16:08 #12620
mila_supportMemberHi @adrien.andrealcaraz
Please provide the page link with example of this effect.
Thus I will be able to help you.February 16, 2017 at 16:12 #12621
AnonymousInactivehttp://jgatelier.fr/
My bad !
February 17, 2017 at 14:22 #12639
mila_supportMemberHi @adrien.andrealcaraz
You can try to enable Shadow option at the Main Settings tab of your Gallery.
Then turn on “Overlay image with shadow” and choose the “Shadow color” you need.
Also, don’t forget to save changes. - AuthorPosts
- You must be logged in to reply to this topic.