I have a slider that contains images that are 1920px wide. However, if the users screen is narrower that the images they need to be centred and the overflow set to be hidden. This doesn't sound hard, but for some reason I can¨t pull this off. Please help me! :) http://jsfiddle.net/zBNUm/
Since I have a slider for wordpress where each image is wrapped withing an img tag, this won't work. However, if someone knew a Wordpress jQuery plugin slider that uses background images instead of , it would solve my problem :)
However, if the users screen is narrower that the images they need to be centred and the overflow set to be hidden.
This doesn't sound hard, but for some reason I can¨t pull this off.
Please help me! :)
http://jsfiddle.net/zBNUm/
Hi. I have the same problem, but your code at http://jsfiddle.net/zBNUm/ doesnt work.
Could you please help me? Did you update that code?
@zbysek
Please start a new thread and post a link or code in Codepen