Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #5730

    I am looking for a way to hide (or comment out) the Title and ALT text for gallery images when viewed full size within the Coalition theme.

    #51547

    hm. I think the easiest solution would be to use a jquery script that removes the alt tags and titles alltogether.

    adding this to the JS/avia.js file at line 32 could work:

    jQuery(.gallery-item img).attr(‘title’,”).attr(‘alt’,”);

    #51548

    Thanks for the reply, however, the addition of the code did not work. When I added it to the file, Dreamweaver indicated there was an issue with the code – I uploaded the file to the server anyhow. When I went to preview the gallery with the newly added code, instead of opening up the image in a lightbox, it simply showed the image in a blank page.

    I inquired about this same topic with the Brightbox theme and from what I can recall you said something about commenting out the code. Unfortunately, I cannot fine the support post that referenced that, nor remember the file and changes you suggested.

    #51549

    Hey,

    I’d just use css to hide it. Open up css/custom.css and add:

    div.ppt, .pp_description {
    display: none !important;
    }

    #51550

    Almost there! The addition of the code successfully hid the ALT text, however, the TITLE still appears next to the controller in the bottom area of the image.

    #51551

    I corrected the code above (small typo – I forgot a dot . :)

    #51552

    That did it… thanks for the help!

    #51553

    Glad that I could help you :)

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Hide Title and ALT text on Pretty Photo gallery images’ is closed to new replies.