Pinboard — problem with placement of lightbox titles

Viewing 3 posts - 1 through 3 (of 3 total)
  • #19695
    baddog
    Participant

    Hi,

    Our lightbox titles (#cboxTitle) are pretty long and we use some very vertical images so the lightbox titles don’t show up correctly. They either bump into the lightbox counter or run over the image. Is there a way to change this?

    How can we add more space below the image that expands depending on the length of the tile?

    Here is a link to the portfolio: http://rebeccabluestone.com/bluewp/work/

    Thanks

    #19698
    Daniel Tara
    Keymaster

    For images that narrow I’m afraid you can’t. The best solution would probably be to deactivate them. Open functions.php and find all calls to colorbox, they should look like this:

    colorbox({
    	maxWidth: '100%',
    	maxHeight: '100%',
    });

    Replace that with:

    colorbox({
    	maxWidth: '100%',
    	maxHeight: '100%',
    	title: '',
    });
    #19783
    baddog
    Participant

    Thanks, Daniel,

    I didn’t change the functions. I decided to just hide the titles for now:

    #cboxTitle {
    visibility: hidden;
    }

    I’m still hoping we can find a better solution to keep the titles and fix their placement. Please let us know if anything crosses your mind πŸ˜‰

    Thank you

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

You must be logged in to reply to this topic.