Jump to content

How to center a Slider in Homepage Content


Recommended Posts

Can you show me where? I tried a few things but it isn't reflecting on the page.

 

Thanks again for your help with this!

 

/* The Nivo Slider styles */
div#slide_holder {
width:556px;
height:282px;
clear:both;
margin: 10px 0;
}
div#slider {
width:556px;
height:278px;
   overflow: hidden;
}
.nivoSlider {
position:relative;
}
.nivoSlider img {
position:absolute;
top:0px;
left:0px;
}
/* If an image is wrapped in a link */
.nivoSlider a.nivo-imageLink {
position:absolute;
top:0px;
left:0px;
width:100%;
height:100%;
border:0;
padding:0;
margin:0;
z-index:60;
display:none;

Link to comment
Share on other sites

Hello Fred,

You should use the firebug add-on for firefox or the native inspection tool from Chrome. Right-click on the element you are interested in and select "inspect". Then you can tweak the CSS attribute, add directives on the fly and when you get the result you want, you just have to copy in your CSS file. Once you learn how to use this powerful tool, you should be able to customize your page at will. Hope it helps.

Guillaume

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...