Log In · Register

 
 
Closed TopicStart new topic
How to change the default images, For moods, locked entries, etc.
scribbledhearts
post Jan 20 2008, 09:09 PM
Post #1


Senior Member
***

Group: Member
Posts: 86
Joined: Jan 2006
Member No: 342,692



Is there a way to change the default photos used for:
1) Moods?
2) Friend-locked entries? (Normally this image: )

Thanks in advance
 
libertie
post Jan 20 2008, 09:56 PM
Post #2


This bag is not a toy.
*******

Group: Staff Alumni
Posts: 3,090
Joined: Oct 2007
Member No: 583,108



Unfortunately, neither of those things has a class assigned to it, so unless you have a Paid account, you won't be able to change those things. :(
 
scribbledhearts
post Jan 23 2008, 07:36 PM
Post #3


Senior Member
***

Group: Member
Posts: 86
Joined: Jan 2006
Member No: 342,692



So something like this would require a paid account?

(custom mood photo)
 
libertie
post Jan 24 2008, 07:46 PM
Post #4


This bag is not a toy.
*******

Group: Staff Alumni
Posts: 3,090
Joined: Oct 2007
Member No: 583,108



Yesma'am. _smile.gif
 
Mulder
post Jan 24 2008, 11:53 PM
Post #5


i lost weight with Mulder!
*******

Group: Official Designer
Posts: 4,070
Joined: Jan 2005
Member No: 79,019



actually, no. well, sort of. You need to switch to a plus account temporarily too add a mood theme, which is explained here

and you can code for all icons, such as the lj-user icon or the friends-lock icon using css in any S2 style. (I assume).
 
libertie
post Jan 25 2008, 01:28 PM
Post #6


This bag is not a toy.
*******

Group: Staff Alumni
Posts: 3,090
Joined: Oct 2007
Member No: 583,108



The user icon possibly, but not the lock - there's no class assigned to it, and there's no class assigned specifically to protected entries. Since the user icon is assigned the class "ljuser", the image can be hidden and then replaced with a background image, but if you were to try to replace the lock, the best you'd get is changing every single entry on the page to have that image, even public entries.

The Plus account thing makes sense, seeing as how Plus accounts have many of the same features as Paid accounts, but I was unaware that the mood theme would stay if you were to revert back to basic. I wonder how long it will be before LJ decides to fix this.
 
Mulder
post Jan 25 2008, 06:25 PM
Post #7


i lost weight with Mulder!
*******

Group: Official Designer
Posts: 4,070
Joined: Jan 2005
Member No: 79,019



in S2 you can change all the images separately - there is a class assigned to each icon.

I pulled this from my own code (though I didn't make it)
CODE
    img[src="http://stat.livejournal.com/img/icon_protected.gif"]{
        width: 0;
        height: 0;
        padding: 0 0 10px 7px;
        background: url(http://img.photobucket.com/albums/v72/panthersgem/ref/plock.gif);
        }

    img[src="http://stat.livejournal.com/img/icon_private.gif"]{
        width: 0;
        height: 0;
        padding: 0 0 10px 7px;
        background: url(http://img.photobucket.com/albums/v72/panthersgem/ref/plock.gif);
        }

obviously you would replace the image with your own
 
libertie
post Jan 26 2008, 02:30 AM
Post #8


This bag is not a toy.
*******

Group: Staff Alumni
Posts: 3,090
Joined: Oct 2007
Member No: 583,108



Ah, I see - that's not a class, but it calls the specific image based on its URL rather than a defined class. I tested it, and it works in S1 as well. Crazy CSS tricks these kids are coming up with these days.

You don't learn these things when you're coding actual sites, because you don't have to break the page in order to get it to look the way you want it to. xD
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: