better-simple-slideshow icon indicating copy to clipboard operation
better-simple-slideshow copied to clipboard

Slideshow shifts to the right on website

Open lrfowler opened this issue 10 years ago • 4 comments
trafficstars

Hello, What do I need to change to position the slideshow correctly on the webpage... www.unitedcoachtours.com ? the slideshow is shifted to the right...I suppose the left and right arrows should be on top of the slideshow ........

Thanks.

lrfowler avatar Dec 30 '14 20:12 lrfowler

The defaults for figure elements are

margin-top: 1em; margin-bottom: 1em; margin-left: 40px; margin-right: 40px

and that's the border you see with the shift of the image to the right. I have changed

.bss-slides figure{ position: absolute; top: 0; width: 100%; margin-right: 0px; margin-top: 0px; margin-left: 0px; margin-bottom: 0px; }

and that works perfectly.

brunoezhVet avatar Feb 07 '15 12:02 brunoezhVet

Thanks a lot for this fix!

Gettyk avatar Mar 12 '15 14:03 Gettyk

Would be nice to have the fix implemented in the lib. Finally found this post. The CSS should be:

.bss-slides figure{ position: absolute; top: 0; width: 100%; margin:0; }

Be sure to force margin to 0 and the slideshow won't jink to the right.

ghost avatar Nov 02 '15 16:11 ghost

@CoryMck please feel free to submit a pull request if you would like, and I will merge it in. If not I will add it myself soon.

leemark avatar Nov 03 '15 18:11 leemark