I installed this plugin on a theme. This theme had a slider, but I didn't like it. So I installed this one.
http://wordpress.org/extend/plugins/content-slide/
I tried using this
#wpcontent_slider_container{
position:relative;
margin: 0 auto;
}
And this
#wpcontent_slider_container{
position:relative;
margin-left:auto;
margin-right:auto;
}
And nothing happens.
Do I have to put something in div?
I had the same problem. This is how I solved it:
Without the "!important" thingy the CSS didn't work fo me either.
or use
<center
> TagIn
#wpcontent_slider_container's
parent element addto center align your
#wpcontent_slider_container
Finally I can fix the problem with the slider ubication in my web page.
Just modify the
style.css
,.main_img { float:left; margin:15px 10px 0 60px}
, change the values.Change width
If you know the width of the slider, here is a little fix that worked for me when center align was being stubborn.
It's not pretty, but it works. You might have to hide the horizontal overflow of the outer container though.