WordPress.org

Ready to get started?Download WordPress

Forums

Styling sidebar help (3 posts)

  1. cregy
    Member
    Posted 8 years ago #

    Hi Guys

    If you take a look at this site, http://www.cregy.co.uk/ you will see that I am trying new ideas (for me anyway) in styling the sidebar.

    What I would like to know is does the tick thing work for you please? (Click on a link to see it working). I would like the tick to be at the other end of the line but I can't work out how to do it! I did try background-position: right centre but it places it in the middle of the link.

    Any thoughts please?

    Thanks

    Rich

  2. jbbrwcky
    Member
    Posted 8 years ago #

    Yes, it works, but it's permanent. I click on about, a tick appears. I then click on say, contact and one appears next to contact, but doesn't remove the one next to about.

  3. schestowitz
    Member
    Posted 8 years ago #

    Try something like the following instead:

    .sidebar a:after{
    content: " " url(/link.png);
    }

    .sidebar a:visited:after {
    content: " " url(/link-visited.png);
    }

    Be aware that IE doesn't know what 'before' and 'after' mean.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags