Okay
  Public Ticket #2536643
Displaying Captions/Descriptions on Images
Closed

Comments

  • chubbywookie started the conversation

    I am using the Single Image object to display images that you can click on to view the full size in FancyBox. 

    I need to be able to display the Title, Caption or Description fields when a person either rolls over or clicks on an image to view it in the FancyBox mode. Title would be easiest but I can see no way to add it to the <img> code. 

    I see this element, but no matter what I do, content never appears inside the "caption__body" element:  

    <div class="fancybox-caption fancybox-caption--separate">
    <div class="fancybox-caption__body"></div>
    </div>

    Is this a bug? How do I make this happen? It's a pretty glaring omission to your theme if there's no way to show images with the Title, Description or Caption fields. 

    Please advise. 

  •  2,965
    Andrew replied

    Hi there,

    Please see the following link on how to override some element.

    http://themenectar.com/docs/salient/overriding-salient-wpbakery-element-template-files-through-a-child-theme/

    Thanks.