• Resolved bhammondCVL

    (@bhammondcvl)


    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)
  • 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

    (@bhammondcvl)

    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. Reason: edited for clarity
Viewing 2 replies - 1 through 2 (of 2 total)

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