- This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hi,
Thanks for checking this post out.
Im trying to create custom image to replace the “numbers” of Control-Nav.
The result would be something like this “http://imgur.com/qM7fHsQ”
I would only need 2 images for the banner, so is there any way to implement it?
Thanks!
Upon trying out further,
`
/* Control nav styles (e.g. 1,2,3…) */
.nivo-controlNav {
text-align:center;
padding: 15px 0;
}
.nivo-controlNav a {
cursor:pointer;
}
.nivo-controlNav a:nth-child(1) {background-image:url(‘banner_button.png’);}
.nivo-controlNav a:nth-child(2) {background-image:url(‘banner_button2.png’);}
.nivo-controlNav a.active {
font-weight:bold;
}
`
It still doesnt show out the images, and the number 1,2 is still present. Any suggestions?
We can’t diagnose this basic CSS without seeing the HTML that goes with it.
Could you make a Codepen.io example (you can use dummy images) or provide a link to a live site?
Hi, Solved.
I did not add a theme in.
Thanks everyone!