Results 1 to 2 of 2

Thread: Lightbox Image Viewer 2.03a

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

    Default Lightbox Image Viewer 2.03a

    1) Script Title: Lightbox 2.03a

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

    3) Describe problem: How to change hyperlink text colour

    I have set up a hyperlink in the enlarged photos but would like to change the link text colours from the normal HTML standards of blue (prior to clicking) and purple (visited). Presumably there is an entry in the CSS file to do this but I'm having trouble finding it.

    I have attached a screenshot to explain what I mean.

  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

    Find this section in the lightbox.css file and add the highlighted line:

    Code:
    #imageData{	padding:0 10px; color: #666; }
    #imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
    #imageData #caption{ font-weight: bold;	}
    #imageData #caption a { color: #333;	}
    #imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
    #imageData #bottomNavClose{ width . . .
    You may use any valid css color value of your choice in place of #333 (a dark gray). You may also use other valid property/value pairs to define other styles for these links. The link pseudo classes may also be employed.
    - 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 (06-01-2011)

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
  •