Title: Remove Captions on Hover
Last modified: January 12, 2022

---

# Remove Captions on Hover

 *  Resolved [amandadcox](https://wordpress.org/support/users/amandadcox/)
 * (@amandadcox)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/remove-captions-on-hover-2/)
 * I don’t want the photo titles to show on hover in the thumbnail gallery in any
   of my galleries. I can’t figure out how to get it from showing up. I already 
   have the below code in the wordpress additional CSS field:
 *     ```
       #envirabox-title-float-wrap tbody, #envirabox-title-float-wrap td {
           display: none !important;
       } 
   
       .caption {
           display: none !important;
       }
   
       jQuery(".envira-gallery-image, .envira-gallery-link").attr("title", "");
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fremove-captions-on-hover-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [bmilligan15](https://wordpress.org/support/users/bmilligan15/)
 * (@bmilligan15)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/remove-captions-on-hover-2/#post-15244805)
 * Hi [@amandadcox](https://wordpress.org/support/users/amandadcox/)
 * Thanks for reaching out. I apologize for the trouble!
 * Can you please try the snippet below, and let me know your results?
 *     ```
       jQuery('.envira-gallery-item img').hover(function() {
           jQuery(this).data('title', jQuery(this).attr('title'));
           jQuery(this).attr('title', '');
       }, function() {
           jQuery(this).attr('title', jQuery(this).data('title'));
       });
       ```
   
 * Thank you!
    -  This reply was modified 4 years, 4 months ago by [bmilligan15](https://wordpress.org/support/users/bmilligan15/).
      Reason: Fixed code format
 *  [hjc621](https://wordpress.org/support/users/hjc621/)
 * (@hjc621)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/remove-captions-on-hover-2/#post-15277897)
 * I have the same need, remove display of the title. I am using Code Snippets plug-
   in and have entered your recommended code but the titles ae still visible.
    Can
   you offer a bit more advice on application of the snippet pls?
 * Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Remove Captions on Hover’ is closed to new replies.

 * ![](https://ps.w.org/envira-gallery-lite/assets/icon-256x256.png?rev=2022837)
 * [Envira Gallery - Image Photo Gallery, Albums, Video Gallery, Slideshows & More](https://wordpress.org/plugins/envira-gallery-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/envira-gallery-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/envira-gallery-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/envira-gallery-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/envira-gallery-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/envira-gallery-lite/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [hjc621](https://wordpress.org/support/users/hjc621/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/remove-captions-on-hover-2/#post-15277897)
 * Status: resolved