Min-width/max-width center image
Permalink Browser Info Environment
Hi-
I added to the CSS. That works nicely except I now want it centered. I've tried may options, the first one starts centered, the the following images animate in from the left then jump to the center. Any ideas on how to the the reminaing images to always be centered?
Thanks,
Tony
I added
.nivoSlider img {max-width:1367px !important; min-width:990px !important; }
Thanks,
Tony
Type: | Discussion |
---|---|
Status: | New |
I suppose centering images by your approach needs some modification at main js file, that i do not recommend.
My recommendation would be add this your custome width/height to main container(.slider-wrapper).
I think adding something like this would do what you want to do nicely: