PDA

View Full Version : Vertical position of images in Ultimate Fade-in slideshow (v2.6)



fifty50
01-29-2015, 04:18 PM
1) Script Title: Ultimate Fade-in slideshow (v2.6)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

3) Script works as shown. I am using CSS Media Queries as described in the Guide to Responsive Ultimate Fade In Slideshow - which also works as described. When the window is changed such that it is taller than the image, black space is shown (which is okay). The image is centered vertically with black space above and below. My question: is it possible to set the position so that the image is always at the top? so any black space is all left at the bottom? Also note: I am not a code expert. Thanx.

ddadmin
01-29-2015, 09:13 PM
The blank space is controlled by margin added to each image inside the slideshow via scripting. You can remove the top margin fo example with a CSS code like the following:


#fadeshow2 .gallerylayer img{
margin-top: 0 !important;
}


Change #fadeshow2 to the ID of your slideshow container.

fifty50
02-03-2015, 02:28 PM
Thank you.