Reputation: 11
Using unslider.com responsive slider I got an issue.
Code index.html pastebin.com/5699b3DL
(source: iv.pl)
(source: iv.pl)
As you can see image is not centered and its not fit to window size. And its not responsive.
Tried: Setting paddings, margins 0px to img, ul etc Height initial,width %,initial etc
Any ideas how to fix that?
Upvotes: 0
Views: 408
Reputation: 11
The answer is:
.unslider img { max-width: 100%; margin: 0 auto; }
I have tried this with firefox editor, but only pasting this to CSS file fixed issue, strange.
Upvotes: 1
Reputation: 1174
Are you using on you main site as well with those placehold.it images? Because, it seems to be the cause. When I am replacing those with proper images, with their complete urls(http://LLLL.com/img.jpg
). It works fine.
Try that, or provide a jsfiddle.
Upvotes: 0