?

Log in

No account? Create an account

Previous Entry | Next Entry

Friends Colors

  • Apr. 6th, 2007 at 9:55 PM
I've been playing around with customizations in a sort of hit-or-miss style trying to see what will affect what.

What I'd like to do is use friends colors on my friends page, but not in the way the default does...

So if I do this:

.asset-body .user-icon {
padding: 5px;
border: 10px solid #ffffcc;
}

I get a peach border round all the icons - mine and my friends - /as long as/ I don't say 'yes' to using friends colors. If I do say 'yes' then this doesn't work.

Is it possible to manipulate this so that I can put the friends colors where I want, rather than where it wants?

I just have a plus account so I appreciate this may not be possible simply using CSS.

Thanks.

Comments

( 4 comments — Leave a comment )
av8rmike
Apr. 7th, 2007 03:19 am (UTC)
Sure is:
.lj-view-friends .user-icon {
    padding: 5px;
    border: 10px solid #ffffcc;
}
(The .asset-body isn't required because the pic in the sidebar is ".userpic".)
springdaisyk
Apr. 7th, 2007 06:00 am (UTC)
This doesn't seem to do anything different... if I have friends colors 'on' then I don't get the box. And what I really want is a box in /their/ color inside that one...
av8rmike
Apr. 7th, 2007 03:12 pm (UTC)
I'm sorry, I seem to have misunderstood what you wanted. The CSS I gave you will put a border around userpics on your friends page, but not your journal page (or any other). And, you're correct in that it'll only work if friends colors is off.
The problem is that the code has this HTML for the userpic:
<div class="user-icon" style="border: 1px; padding: 2px; background-color: $bgcolor;">
The CSS won't work at all because the inline style in the DIV element will always override. And, you can only have one border per box.
It might be possible to draw another box around the userpic box and give it the custom border, but that would require changing the code, and thus a paid account.
springdaisyk
Apr. 7th, 2007 05:11 pm (UTC)
Ah *is sad*, I did wonder, but thanks. I've just got a plus account so I will debate the paid account a little longer.
( 4 comments — Leave a comment )

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