PDA

View Full Version : Lightbox Image Viewer - font used for caption



Franco50
05-18-2008, 12:44 PM
1) Script Title: Lightbox Image Viewer

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/lightbox/index.htm

3) Describe problem:
Is there a way I can change the font used for the caption and the "click X to close" text which appear beneath the displayed photo? I notice on the DD samples the font appears to be Verdana 8 or perhaps Ariel 8 but my tests are coming out with Times New Roman which doesn't match the rest of my website.

jscheuer1
05-18-2008, 03:40 PM
In lightbox.css:


#lightboxDetails{
font-size: 0.8em;
padding-top: 0.4em;
}

Set the font there as desired, ex:


#lightboxDetails{
font-family: verdana, sans-serif;
font-size: 0.8em;
padding-top: 0.4em;
}

Franco50
05-18-2008, 07:54 PM
cheers! I had a look in the CSS file but missed that part - must have been half asleep! ;)