Tiny icons for users and security

May 08, 2009 10:20

I've got a couple of questions about the lj-user and post security icons, apologies if they're the dumbest things you've ever heard. This is the code I'm using at the moment:

Cut. )

entry usericon and username, solved, entry security icons, paid accounts

Leave a comment

Comments 7

complications_g May 8 2009, 09:49:53 UTC
I'm not exactly sure what the .caption is for, I don't think I've ever seen it in FS CSS before, but you could cut down a lot by getting rid of the .subject/.caption and just going with img[src... as then it affects everywhere.

Also, lj changed it's image url source again from p-stat to l-stat, but you can save the trouble of future changes by using a catch-all:

img[src*='userinfo.gif'] [replace userinfo.gif with whatever is relevant]

Yes you can put this in your theme layer, do you have the print_custom_head function? That would be where it goes.

Reply

greatescape May 8 2009, 11:30:49 UTC
Right. I've got rid of the .captions and not noticed a difference. Not sure where I've picked that up from then.

Yes I've got a print_custom_head function, does the CSS just go straight in there?

Reply

complications_g May 8 2009, 11:41:29 UTC
Sort of, in the right section, could you link to your layer? You also may need to make your layer viewable.

Reply

greatescape May 8 2009, 12:16:25 UTC
My layer should be here.

Reply


Leave a comment

Up