This tutorial displays the description of your featured image on hover.
Here’s what the description looks like displayed over the image when hovered:
There’s 2 steps involved:
- Modify the PHP code for your featured image to include the description
- Use CSS to display the description text over the image.
Note: This example is tested on the Minimum Pro child theme by StudioPress which includes a portfolio-archive.php file.
Here’s the solution for logged in members:
Video – Image description on Hover
Related Code Snippets
- Add Text Overlay To Featured Image Hover On Single Posts
- Archive Template With Featured Image Hover Overlay
- Add Caption & Image Description Below Genesis Featured Posts Image
- Add Content After Featured Images on Archive Pages
Was this helpful?
Thanks for your feedback!


Leave a Reply