PDA

View Full Version : photo description alignment


mogue
Mar-16-2008, 06:27 AM
Hello,
I can't get the text in the description under photo to align left justified. The URL is: http://shilohbear.smugmug.com/gallery/3015526_FMJez#248360370. Help appreciated.

lucy

denisegoldberg
Mar-16-2008, 08:03 AM
Hello,
I can't get the text in the description under photo to align left justified. The URL is: http://shilohbear.smugmug.com/gallery/3015526_FMJez#248360370.
The text is centered because you have this in your CSS:
#caption_bottom {text-align: center; color: #000 !important;}If you want to change it for just this gallery, you can change it to this:

#caption_bottom {text-align: center; color: #000 !important;}
.gallery_3015526 #caption_bottom {text-align: left; color: #000;}
Or to change it for all galleries:
#caption_bottom {text-align: left; color: #000 !important;}
--- Denise

Allen
Mar-16-2008, 08:05 AM
Hello,
I can't get the text in the description under photo to align left justified. The URL is: http://shilohbear.smugmug.com/gallery/3015526_FMJez#248360370. Help appreciated.

lucy
Just that gallery or just that photo?

This in your CSS is doing your whole site.

#caption_bottom {
text-align: center; color: #000 !important;}

This will do that gallery, add just after above.

.gallery_3015526 #caption_bottom {
text-align: left;}

mogue
Mar-16-2008, 12:08 PM
The text is centered because you have this in your CSS:
#caption_bottom {text-align: center; color: #000 !important;}If you want to change it for just this gallery, you can change it to this:

#caption_bottom {text-align: center; color: #000 !important;}
.gallery_3015526 #caption_bottom {text-align: left; color: #000;}
Or to change it for all galleries:
#caption_bottom {text-align: left; color: #000 !important;}
--- Denise

Thanks a lot. Works perfectly.


lucy