add icon in K2-lite 0.9.1?

  • Unknown's avatar

    I’m using K2-lite 0.9.1 theme. Under the post subject, there are the date, category, and comment. The date and comment have icon next to it, but not the category. Which part of the stylesheet that I can modify to have an icon appear next to it?

  • Unknown's avatar

    Looks like “entry-category” Let me look at this one.

  • Unknown's avatar

    Take a look at how it’s done for the date and the comments:

    .chronodata {
    background:url('http://img.photobucket.com/albums/v718/annepdy/images/time.png') left center no-repeat;
    padding:2px 0 2px 16px;
    }
    
    .commentslink {
    background:url('http://img.photobucket.com/albums/v718/annepdy/images/comment.gif') left center no-repeat;
    margin-left:10px;
    padding:2px 0 2px 16px;
    }

    See that background bit? YOu need to add something in there but to entry-category.

    At least that would be my first guess. My CSS isn’t the world’s best.

  • Unknown's avatar

    I try this:

    .entry-category {
    background:url(‘http://img.photobucket.com/albums/v718/annepdy/images/time.png’) left center no-repeat;
    padding:2px 0 2px 16px;
    }

    the icon appears, however, the icon in front of date and comment are gone.

  • Unknown's avatar

    I don’t see that you’re trying it on your blog. Looks the same to me.

  • Unknown's avatar

    it works now — maybe the image didn’t load earlier. Thanks for your help!

  • Unknown's avatar

    Not a problem. CSS is usally cached so that may have been what you were running into.

    Hey, I answered a CSS question. It’s a miricle :)

  • The topic ‘add icon in K2-lite 0.9.1?’ is closed to new replies.