Congratulation, it's a wonderfull module with very good doumentation.
Here is my problem :
Lightbox2 image is centered. Caption below is left aligned.
Can I change that just by css? I mean, for the caption to be also centered.
What must I add in my css file? For example for a garland theme.
I know for the text-align: center, what I need is the selector

CommentFileSizeAuthor
#3 lightbox_css.jpg45.41 KBdbeall

Comments

dbeall’s picture

I don't know how your caption is not centered, unless something has changed in your css or your theme has something going on.
here is one of my sample lightbox galleries
http://www.davebeall.com/node-gallery-gallery2/buckeye-lake-park

dbeall’s picture

from firebug

<div id="imageDataContainer">
      <div id="imageData">
           <div id="hoverNav"></div>
                <div id="imagedetails">
           <span id="caption"></span>
           <span id="numberDisplay"></span>
          </div>
      </div>
</div>
dbeall’s picture

StatusFileSize
new45.41 KB

screen shot

yours might be a little different because I have a lighbox patch to display the caption for the image.

sahuni’s picture

Thanks for your reply,
I don't understand, my gallery is not at all like yours.
Do I have really lightbox unable? Debugs bar does not at all shows lightbox classes.

Here is a link with real theme, and a test gallery : http://www.musee-des-bisses.ch/gallery-bisse-do
When I gave Garland theme to my user, I saw exactly the same, text on left

sahuni’s picture

Hi,
So even with garland, I don't get an id=caption, it's just a <p>mytexte</p>, as in the link of 2nd of April.
Can you give me a suggestion?

sahuni’s picture

Well I suceeded to center a cck field I added to content type gallery image.
The problem with caption field is that it has no class.
I'll use my proper fields, no problem.
All the best

dddave’s picture

Status: Active » Closed (fixed)