Codeinwp / Nivo-Slider-jQuery

Nivo Slider - The Most Awesome jQuery Image Slider
http://docs.themeisle.com/article/485-getting-started-with-the-nivo-slider-jquery-plugin
MIT License
1.25k stars 605 forks source link

Random 1px Jump after first slide #348

Open TiMESPLiNTER opened 11 years ago

TiMESPLiNTER commented 11 years ago

Hi there, I already reported this bug on the page of nivoslider a long time ago, I then was able to fix it, but now I don't know how to do it again.

When the nivoslider slides to the second picture a random line in a paragraph or a random heading that is placed after the slider jumps 1 pixel higher and then stays there (FF 18.0.1 only).

If I don't load the stylesheet for the style of the rest of my site, this "bug" does not happen. Also if I do not load any nivoslider related stylesheet this bug does happen.

It's a mystery for me... I think it has something to do with the javascript code because the error also happens if there is no nivoslider stylesheet loaded...

Raslucas commented 10 years ago

Hello there,

I ran into a problem like that. If the banner is a fixed width, make sure the set width of the image is the same as the width of the slider itself. In my case, it was jumping on transition. It was actually resizing because the width of the image was 940px but the slider was actually 100% width, in a 960px wide container. I changed the slider from 100% to 940px, and everything is doing great now.