Hi Guys,
How do I use a custom overlay image instead of the fontello icon?
I guess with background-image command, but I cannot figure out the proper CSS.
Any help much appreciated.
Cheers
Constantin
Kriesi uses following code to insert the icon
.image-overlay.overlay-type-extern .image-overlay-inside::before{content:"27A6";}
.image-overlay.overlay-type-video .image-overlay-inside::before{content:"25B6";}
You can replace the “content value with eg an image url: http://www.htmldog.com/reference/cssproperties/content/
Eg replace it with
.image-overlay.overlay-type-extern .image-overlay-inside::before{content: url(https://mywebsite.com/images/image.png);}
.image-overlay.overlay-type-video .image-overlay-inside::before{content: url(https://mywebsite.com/images/image.png);}
and make sure that the url path points to an existing image.
Awesome Dude,
That worked like a charm.
Thank you!