Support » Plugin: NextGEN Gallery - WordPress Gallery Plugin » Removing captions in lightbox images and title text

  • Resolved singer74


    I have Nextgen 2.0.59 and I need to hide 2 things: the caption that shows on the lightbox image, and the alt text or title text that shows when hovering over a thumbnail. When searching the forum on this topic I can only find old posts about old versions of Nextgen. Can someone help me accomplish this in the new version?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author photocrati


    @singer74 – You may be able to apply custom CSS to hide the image captions but the Alt&Title text of the image (the tool-tip text when you hover over the image) is not easily removed as is due to those being standard <img> tag parameters.


    – Cais.

    Ah, yes — changing the #titleText to display:none in the CSS did it! Can’t believe I didn’t think of that. Thanks for the tip!
    I’ll have to live with the tooltips for now.

    @singer74 – As indicated by photocrati above you can easily hide image caption in the lightbox by using CSS:

    #fancybox-title.fancybox-title-inside {
    display: none !important;

    To hide the Title text of the image (tool-tip which shows on hover) I have reverted to a jQuery solution as follows:

    <script type=”text/javascript”>
    jQuery(document).ready(function() {
    jQuery(‘.ngg-gallery-thumbnail img’).prop(‘title’, ”);

    Hope this helps!

    Plugin Author photocrati


    @icek123 – Thanks for the tips and the code snippets. jQuery would be the only suggestion I would have made to handle the tool-tips if it became an absolute necessity, too.

    – Cais.

    @icek123, Awesome, that worked, thank you!!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Removing captions in lightbox images and title text’ is closed to new replies.