Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Nivo Slider Control-Nav Help

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #181348
    stingray91
    Participant

    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!

    #181349
    stingray91
    Participant

    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?

    #181353
    Paulie_D
    Member

    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?

    #181355
    stingray91
    Participant

    Hi,

    http://codepen.io/anon/pen/obykC

    I have paste the relevant codes in.

    Thanks!

    #181572
    stingray91
    Participant

    Hi, Solved.
    I did not add a theme in.

    Thanks everyone!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘CSS’ is closed to new topics and replies.