Title: title and caption behavior
Last modified: May 21, 2018

---

# title and caption behavior

 *  Resolved [bhammondCVL](https://wordpress.org/support/users/bhammondcvl/)
 * (@bhammondcvl)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/title-and-caption-behavior/)
 * Is there a way to make the image Title appear on hover, and then show the image
   Caption when the image is clicked? I’m using FooBox and FooGallery. The image
   titles are short; the captions are longer explanations. Here are the gallery 
   settings:
    – Hover effects: show caption on hover – Captions: – Title: Attachment
   Title – Description: Attachment Caption
 * Resulting behavior:
    – thumbnail images show title and caption on hover – if 
   clicked, only image title shows at bottom of FooBox image
 * This seems the opposite of what you’d expect: When the space is tight (on the
   thumbnail) show lots of text (both the title and caption). When you have more
   space (in the FooBox after the image is clicked) show less text (only the title).
 * Is there a way to change this?

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

 *  [stlmike](https://wordpress.org/support/users/stlmike/)
 * (@stlmike)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/title-and-caption-behavior/#post-10305659)
 * From what I have seen, you get one or both. I don’t see a way to set just the
   title on the thumbnail and then the Caption on the FooBox image. But I maybe 
   I just can’t find it either.
 *  Thread Starter [bhammondCVL](https://wordpress.org/support/users/bhammondcvl/)
 * (@bhammondcvl)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/title-and-caption-behavior/#post-10305732)
 * A hacky work-around for this, I guess, would be to swap the text in the title
   and caption fields for your images–so your images have long titles and short 
   captions. Both would display on hover, but you can hide the title on hover via
   CSS:
 * `.foogallery .fg-caption-title { display: none; }`
 * This is a little tedious to change if you’ve got lots of images, but it would
   seem to work.
    -  This reply was modified 8 years, 2 months ago by [bhammondCVL](https://wordpress.org/support/users/bhammondcvl/).
      Reason: edited for clarity

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

The topic ‘title and caption behavior’ is closed to new replies.

 * ![](https://ps.w.org/foogallery/assets/icon-256x256.gif?rev=2602542)
 * [Photo Gallery by FooGallery : Responsive Image Gallery, Masonry Gallery & Carousel](https://wordpress.org/plugins/foogallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/foogallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/foogallery/)
 * [Active Topics](https://wordpress.org/support/plugin/foogallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/foogallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/foogallery/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [bhammondCVL](https://wordpress.org/support/users/bhammondcvl/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/title-and-caption-behavior/#post-10305732)
 * Status: resolved