Nivo Slider Displaying Numbers Instead Of Background Image
I am running intro a pretty strange situation. I've added a nivo slider on a site but when I turn controlnav on the slide navigator is composed of numbers. The thing is I'd like to
Solution 1:
By default nivo slider displays the numbers. To get them to be restyled and show bullets instead of the numbers you can use a theme or you could optionally write your own css to style them.
Check the documentation to see how to include a theme.
You will need to alter to html a little.
Check out these 2 js fiddles for (rough) examples of with and without the theme.
http://jsfiddle.net/cyZH2/ - without
http://jsfiddle.net/8Tafp/ - with
In the default-theme css file, it includes the following styles that display the links as bullets.
.theme-default.nivoSlidera {
border:0;
display:block;
}
.theme-default.nivo-controlNav {
text-align: center;
padding: 20px0;
}
.theme-default.nivo-controlNava {
display:inline-block;
width:22px;
height:22px;
background:url(bullets.png) no-repeat;
text-indent:-9999px;
border:0;
margin: 02px;
}
.theme-default.nivo-controlNava.active {
background-position:0 -22px;
}
Post a Comment for "Nivo Slider Displaying Numbers Instead Of Background Image"