View Full Version : Lightbox 2.03 -- resizing buttons.

06-13-2007, 09:04 PM
Lightbox 2.03

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

A. Resizing closelabel.gif and/or the back and previous buttons: is this possible, are are you stuck with the originals? The lightbox.css has one bit for modifying the width (which I tried);

#imageData #bottomNavClose{ width: 66px; float: right; padding-bottom: 0.7em;}

bit it didn't appear to change anything.

B. Also, how or where do you alter the captions? Can you remove them if need be?

Many thanks in advance.

06-13-2007, 11:47 PM
My bad...

for the closelabel.gif to be resized, the lightbox.css should change to to this:

#imageData #bottomNavClose img{ width: 47px; height: 14px; float: right; padding-bottom: 0.7em; }

It's basically just adding 'img' in the line (plus your new specs). However, if you go large, the extra width will screw with the positioning... so I made it smaller. Still works.