Change font size of captions in gallery

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
KevC
Forum Members
Forum Members
Posts: 15
Joined: Sat Sep 18, 2010 2:44 pm

Change font size of captions in gallery

Post by KevC »

I am using the lightbox template in gallery. I would like to make the captions larger. I probably can't see for looking but where in the template can I change the default font size please
Jos
Support Guru
Support Guru
Posts: 4019
Joined: Wed Sep 05, 2007 8:03 pm
Location: The Netherlands

Re: Change font size of captions in gallery

Post by Jos »

Search for #imageDataContainer in the css field of the Gallery Lightbox template
#imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100% ; }
KevC
Forum Members
Forum Members
Posts: 15
Joined: Sat Sep 18, 2010 2:44 pm

Re: Change font size of captions in gallery

Post by KevC »

Thanks Jos. I've changed it to 20px but the site view still shows small text.

Is it possible that something else is overridding it?

www.erdingtonrnli.com is the site address to see what I mean

Kev
Jos
Support Guru
Support Guru
Posts: 4019
Joined: Wed Sep 05, 2007 8:03 pm
Location: The Netherlands

Re: Change font size of captions in gallery

Post by Jos »

Just hit F5 ;)
KevC
Forum Members
Forum Members
Posts: 15
Joined: Sat Sep 18, 2010 2:44 pm

Re: Change font size of captions in gallery

Post by KevC »

still shows up as microscopic text after refresh. More exploring required I think
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Change font size of captions in gallery

Post by Dr.CSS »

I definitely see large text, next time please give the link to the gallery page not just home page, thanks...
uniqu3

Re: Change font size of captions in gallery

Post by uniqu3 »

It's because your body has a font-size: 62.5%;, you can change the font size of caption by editing your Gallery style for .gallery .img {font-size: WHATEVERSIZEpx;}
KevC
Forum Members
Forum Members
Posts: 15
Joined: Sat Sep 18, 2010 2:44 pm

Re: Change font size of captions in gallery

Post by KevC »

cheers folks I'll try and fix the error mentioned if I'm ever allowed access again. Seems that someone has been trying to bring it down

Kevin
Post Reply

Return to “Modules/Add-Ons”