WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How would I place an overlay image over a thumbnail of a certain category.

For example. I have the category "Videos" how would i place a playbutton image over the thumbnail, while making it all link to the post.

But i have different thumbnail sizes as well.

share|improve this question
CSS Overlay images. – brasofilo Jan 17 '13 at 1:41

There are many ways to do what you want to do. Here is a tutorial that will show you how to get it done. Just alter the css to fit your needs


as far as linking. You can use WordPress code for that. Such as

 <a href="<?php the_permalink(); ?>"><img src="your image with overlay"></a>
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.