Visual LightBox
Is it possible to remove caption in html slideshows?
Q: Hello I'm using Visual Lightbox V 5.6 - is there a way that I can hide the on mouse over with the thumbnails? I tried using some JQuery, but it was removing the title and it would not show up when the image opened in the "Lightbox".
A: In VisualLightBox you can remove caption in the following way:
find the following code in engine/css/visuallightbox.css file:
#caption{ font-weight:bold; display:block;}
and change it to:
#caption{ font-weight:bold; display:none;}
Notice, if you use Noir, Chrome, Pinboard, Noble or Crystal templates you should change the following code:
#imageData{
font: 12px Tahoma,Arial,Helvetica;
color: #000000;
background-color: #ffffff;
overflow:visible;
padding: 12px;
left: 10px;
background-color:#ffffff;
text-align:center;
position: absolute;
_bottom:0;
_left: 0;
}
and add 'display:none;' parameter:
#imageData{
font: 12px Tahoma,Arial,Helvetica;
color: #000000;
background-color: #ffffff;
overflow:visible;
padding: 12px;
left: 10px;
background-color:#ffffff;
text-align:center;
position: absolute;
_bottom:0;
_left: 0;
display:none;
}