?

Log in

No account? Create an account

Previous Entry | Next Entry

Changing LJ Userhead Icons

  • Jul. 11th, 2010 at 7:53 PM
I tried to change my little LJ userhead icons with code I copied and pasted from this comm, but I apparently did something wrong. What I want to do is change the userinfo.gif, community.gif, and openid-profile.gif to 3 new userheads (the userinfo.gif will be different from the community.gif and so forth). When I paste the code into the Custom CSS window, all 3 userheads change, but they change to the same image instead of being different from each other.

This is the code I copied (edited to add my pics):

.ljuser img {
width: 0;
height: 0;
background-repeat: no-repeat;
background-color:transparent;
/* so that IE users will still see an image */
background-image: url(http://pics.livejournal.com/the_other_sandy/pic/0000942k);
padding: 20px 20px 0 0px !important;
}

.ljuser img[src="http://p-stat.livejournal.com/img/userinfo.gif"] {
background-color:transparent;
background-image: url(http://pics.livejournal.com/the_other_sandy/pic/0000942k);
padding: 20px 20px 0 0px !important;
}

.ljuser img[src="http://p-stat.livejournal.com/img/community.gif"] {
background-color:transparent;
background-image: url(http://pics.livejournal.com/the_other_sandy/pic/0000ayr5);
padding: 20px 20px 0 0px !important;
}

.ljuser img[src="http://p-stat.livejournal.com/img/openid-profile.gif"] {
background-color:transparent;
background-image: url(http://pics.livejournal.com/the_other_sandy/pic/00008r98);
padding: 20px 20px 0 0px !important;
}

Did I copy too much or not enough of the original code? The original poster wanted to do a couple of other things that I didn't, so I tried to only copy the relevant parts. I guess I missed something.

ETA: Solved! Thanks to xyndarella for recommending the LJ Tiny Icon Generator.

Comments

the_other_sandy
Jul. 13th, 2010 10:47 pm (UTC)
Thanks! I was finally able to get the location of the last userhead I needed to change.

Latest Month

March 2016
S M T W T F S
  12345
6789101112
13141516171819
20212223242526
2728293031  

S2 Help Communities

Tags

Powered by LiveJournal.com
Designed by chasethestars