Changing community & user images in lj-tags

Mar 05, 2006 01:04

A while back I played around with _sommeil's code (here) to allow the new image to direct to the user's profile page, since the current code strips the link. I figured some of y'all might find it useful.

Works for both free and paid accounts, and s1 and s2.

Place the following in your stylesheet:

span.ljuser a {
background: url(URL HERE) no-repeat;
background-position: center left;
width: 10px;
height: 10px;
padding: 0px;
margin-right: 1px;
}

span.ljuser a b {
background-color: #ffffff;
}

span.ljuser img {
visibility: hidden;
}

.ljuser a img {
width: 10px;
height: 10px;
padding: 0px;
margin: 0px;
}

You'll need to change the background color to suit the background color of your entries, and you should change the height and width in both parts of the code. Everything else can be left as is.

coding: livejournal

Previous post Next post
Up