FlexSlider
FlexSlider copied to clipboard
Images not centered when they reach they're full width and height
I'm guessing the desired behavior would be for the images to be centered, but once the browser viewport becomes larger than the image, the images are left-aligned.
Examples:
http://davehe.mp/Dc7L http://davehe.mp/2i2q
You need something be centered, most likely your parent container:
.your-container {width: 960px; margin: 0 auto;}
or center the images in your slides if they are spanning the full width:
.flexslider img {margin: 0 auto; display: block;}
@mbmufffin Exactly. I add this by default to my flexslider css:
.flexslider img { margin: 0 auto; }
but it would seem to me that people don't realize this behavior on a lot of sites, can't test for it anyways because of their limited resolution, and expect that it would be centered by default. :)