Title: Adding a div  to create thumbnail overlay
Last modified: August 22, 2016

---

# Adding a div to create thumbnail overlay

 *  Resolved [Elis Veigar Cole](https://wordpress.org/support/users/salonveh/)
 * (@salonveh)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/adding-a-to-create-thumbnail-overlay/)
 * Is there a possibility that I could modify the plugin so it creates a **div**
   with a classname, inside the
    **li** mark up so I can create a color overlay 
   on the thumbnails?
 * Thank you author of the plugin btw, this is a fantastic plugin. I find it very
   easy to style and make it function as I please.
 * [https://wordpress.org/plugins/wordpress-popular-posts/](https://wordpress.org/plugins/wordpress-popular-posts/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/adding-a-to-create-thumbnail-overlay/#post-5695587)
 * Hi there!
 * Sorry for taking so long to reply back.
 * Yes, the plugin does offer the ability to change the HTML output:
    - If you’re using the widget, enable the _Use custom HTML Markup_ option under
      _HTML Markup settings_.
    - If you’re using either the [wpp_get_mostpopular()](https://github.com/cabrerahector/wordpress-popular-posts/wiki/2.-Template-tags#wpp_get_mostpopular)
      template tag or the [[wpp] shortcode](https://github.com/cabrerahector/wordpress-popular-posts/wiki/1.-Using-WPP-on-posts-&-pages),
      use the `post_html` parameter (see _Settings > WordPress Popular Posts > Parameters_
      for more).
    - You can also use [WPP’s filter hooks](https://github.com/cabrerahector/wordpress-popular-posts/wiki/3.-Filters)
      to have full control on the HTML output.
 * Hope that helps!

Viewing 1 replies (of 1 total)

The topic ‘Adding a div to create thumbnail overlay’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-popular-posts/assets/icon-256x256.png?rev=1232659)
 * [WP Popular Posts](https://wordpress.org/plugins/wordpress-popular-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-popular-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-popular-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-popular-posts/reviews/)

## Tags

 * [color](https://wordpress.org/support/topic-tag/color/)
 * [div](https://wordpress.org/support/topic-tag/div/)
 * [thumbnails](https://wordpress.org/support/topic-tag/thumbnails/)

 * 1 reply
 * 2 participants
 * Last reply from: [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/adding-a-to-create-thumbnail-overlay/#post-5695587)
 * Status: resolved