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

Unable to adjust image center using CSS #406

Closed Supaiku closed 7 years ago

Supaiku commented 7 years ago

I attempted to adjust the centering of the images in the slider using css, and it nearly worked, but only while adjusting the browser size and during the fade-aways, not during the main image display.

.nivoSlider img{ left:-75%; max-width: none;
width: 225% !important; max-width: 225% !important; }

It seems perhaps the script's inserted "inline" overwrites the block formatting applied via CSS. It'd be nice to be able to adjust things via css.

Alternatively, some way to adjust image centering easily through settings would make this possible

PS. I'm actually using the plugin included via the Optmizer Pro Wordpress theme.

Supaiku commented 7 years ago

Figured it out, also neeed to add similar code to the nivo-slices