Hello
I wish to add a greyscale effect to the portfolio page, so it's greyscale until hovered over - Something like this http://www.platige.com
where would I add my code to do this?
Thanks,
Richard
Hey Richard, somehow this must have fallen through the cracks - really sorry!
For anyone else interested it would indeed take some custom development, but with css3 techniques it's possible to do without that much work. http://labs.voronianski.com/css3-grayscale/
This would be cool. Was there any option?
No reply to this one. I decided not to use it anyway.
Hey Richard, somehow this must have fallen through the cracks - really sorry!
For anyone else interested it would indeed take some custom development, but with css3 techniques it's possible to do without that much work. http://labs.voronianski.com/css3-grayscale/
Cheers :)
Howdy!
Put the following snippet in your style.css. This should do the trick.
Thanks Mike. I'll give that a try
Hey Mike!
Thanks for helping out.
Cheers
ThemeNectar Support Team
deleted post
deleted post
Hey!
Add this into the Custom CSS box located in your Salient Options panel:
Cheers
ThemeNectar Support Team
Add this in CSS box:
.portfolio-items .col .work-item img {
filter: gray !important; /* IE6-9 */
-webkit-filter: grayscale(1) !important; /* Google Chrome, Safari 6+ & Opera 15+ */
filter: grayscale(1) !important; /* Microsoft Edge and Firefox 35+ */
}
/* Disable grayscale on hover */
.portfolio-items .col .work-item:hover img {
filter: none !important; /* IE6-9 */
-webkit-filter: grayscale(0) !important; /* Google Chrome, Safari 6+ & Opera 15+ */
filter: grayscale(0) !important; /* Microsoft Edge and Firefox 35+ */
}