Replacing user icons in punquin elegant layout.

Apr 12, 2012 23:07

Name of journal: ditzyfish
Layout Style: Punquin Elegant
Basic, Paid or Plus: Paid
Problem you are having: I'd like to replace my user and community icons with images of my own but not override userheads people have bought from the lj shop? :)

Leave a comment

Comments 2

fiddlingfrog April 14 2012, 00:24:00 UTC
Try this:

img [src="http://l-stat.livejournal.com/img/userinfo.gif?v=91"] {
Your CSS for the new image
}

That should target anyone using the default userhead but not any of the custom userheads. One thing to note is that LJ updates the version number at the end of the URL whenever there's a major release, so you'll constantly have to update your CSS.

Or maybe you could try this. You're supposed to be able to target based on a list usine ~=, but I've never been able to get that to work. So the code would be like:
img [src~="http://l-stat.livejournal.com/img/userinfo.gif?v=91 http://l-stat.livejournal.com/img/userinfo.gif?v=92 http://l-stat.livejournal.com/img/userinfo.gif?v=93" etc ( ... )

Reply

ditzyfish April 16 2012, 07:27:37 UTC
First off, thanks for replying ;)

I tried your code which at least makes my community icon show up now, so thanks :) Unfortunately the custom user heads are still being overrided so I decided to just take out the code that replaces the default user icon in the end :/

Thankyou for helping out anyway.

Reply


Leave a comment

Up