Results 1 to 4 of 4

Thread: Fade-in slideshow background

  1. #1
    Join Date
    May 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Fade-in slideshow background

    Ultimate Fade-in slideshow (v2.4)

    http://www.dynamicdrive.com/dynamici...nslideshow.htm

    If the image size is smaller than the script dimensions, you see a black background. Is there a way to change it so that when you put different sized images in the array, you see a white background? Or a background colour of choice?

    Thanks.

  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

    Put this style in the head of the page (or incorporate its rule into an existing stylesheet for the page):

    Code:
    <style type="text/css">
    #fadeshow1, #fadeshow1 .gallerylayer {
    	background-color: #fff !important;
    }
    </style>
    where fadeshow1 is the wrapperid for the show. You may use any valid css color value in place of #fff (white).

    Be sure to use the !important keyword as shown to override the script's default styles for these elements.
    - 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:

    dustnbones (05-21-2011)

  4. #3
    Join Date
    May 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you John, works like a charm.

  5. #4
    Join Date
    Oct 2010
    Posts
    14
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by jscheuer1 View Post
    Put this style in the head of the page (or incorporate its rule into an existing stylesheet for the page):

    Code:
    <style type="text/css">
    #fadeshow1, #fadeshow1 .gallerylayer {
    	background-color: #fff !important;
    }
    </style>
    where fadeshow1 is the wrapperid for the show. You may use any valid css color value in place of #fff (white).

    Be sure to use the !important keyword as shown to override the script's default styles for these elements.
    Thanks very much for your help. All sorted now.

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
  •