I need to replace the icon overlay on hover with a custom image for each portfolio item. On hover, the image should fade in but not rotate.
Custom images are in the top of the media library.
I can do the bulk of the work if you could get me started.
Thanks in advance for your help with this mod.
Hey Jason,
You can easily change the icon for all of the images by css like this
.image-overlay.overlay-type-extern .image-overlay-inside:before {
content: url("your image");
}
But making different images for each portfolio will require quite an amount of customization.
Best regards,
Victoria
Thanks Victoria – I understand a different image for each portfolio would require a lot of custom code, so we won’t do that.
I would like to use a single custom image in place of the circle and icon. I don’t want to just change the icon within the circle, I want to replace the entire thing with a custom image.
Hi jasonlmook,
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
.image-overlay.overlay-type-extern .image-overlay-inside:before {
content: url("https://www.americandesignfirm.com/wp-content/uploads/2017/12/portfolio-overlay-a.png");
left: 25%;
top: 30%;
background: transparent;
}
If you need further assistance please let us know.
Best regards,
Victoria
Thank you Victoria!
Hi,
Glad we could help. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
Rikard
Brilliant! Perfect solution, thanks.
BARRY