Can anyone offer the necessary CSS coding to overlay a transparent GIF file over the thumbnail images used in the caption?
hope you can help,
Michael
Can anyone offer the necessary CSS coding to overlay a transparent GIF file over the thumbnail images used in the caption?
hope you can help,
Michael
Bump!
Yes, it's doable:
div.wp-caption {
position: relative;
display: block;
}
.wp-caption a[href$=".jpg"]:before {
content: url(magnify.png);
position: absolute;
right: 20px;
top: 20px;
}
See http://soukie.net/2009/08/20/typography-and-css/#example for more details and example. I am actually using :hover:before. Plus you might need to extend the list of file types but that's simple.
This topic has been closed to new replies.