Results 1 to 3 of 3

Thread: Lightbox Image Viewer - font used for caption

  1. #1
    Join Date
    Jul 2005
    Location
    West Lothian, Scotland
    Posts
    37
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default Lightbox Image Viewer - font used for caption

    1) Script Title: Lightbox Image Viewer

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...tbox/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.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    In lightbox.css:

    Code:
    #lightboxDetails{
    	font-size: 0.8em;
    	padding-top: 0.4em;
    	}
    Set the font there as desired, ex:

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

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. The Following User Says Thank You to jscheuer1 For This Useful Post:

    Franco50 (05-20-2008)

  4. #3
    Join Date
    Jul 2005
    Location
    West Lothian, Scotland
    Posts
    37
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default

    cheers! I had a look in the CSS file but missed that part - must have been half asleep!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •