Nora Charles (
noracharles) wrote in
dw_nifty2010-06-09 01:44 pm
Entry tags:
Declutter style=mine
I like a very clean and simple reading page, so I use style=mine all the time.
afuna taught me this:
If a user's posts or comments show up a lot in your journal or reading page, and you get confused about who it is because they use so many different icons (or their explicit or seizure inducing icons are getting to you), you can put this code in your custom css
Update:
runpunkrun supplies a code which will work in more lay-outs in this comment Thank you!
Where it says .poster-username you have to put the real username of the user whose icon you would like to stay the same, for example .poster-noracharles
Where it says url("the url of the icon you want") you have to put a real url of an icon you think you can consistently recognize as belonging to the user, for example url("http://www.dreamwidth.org/userpic/111635/163307")
Where it says padding-right: 100px; you have to put the width of the icon you have chosen, which may be 100px or less, and where it says padding-bottom: 100px; you have to put the height of the icon.
Add as many users as you want, as long as their usernames do not contain a disallowed character string, like "eval". (You don't have to repeat the .userpic a command.)
ETA: Thank you
poulpette for the addition of padding, which will make the code work in more styles.
If you get confused about the meta data, like mood, location and music you can remove it from view by putting this in your custom css:
.metadata {display: none;}
ETA:
From
poulpette in comments: (paraphrased badly by me, you had better read poulpette's precision here)
To hide mood, location and music but leave the crossposted footer visible:
.metadata-label {display: none;} (Hides "Mood:" etc)
.metadata-item {display: none;} (Hides "Excited" etc)
.metadata li img {display: none;} (Hides the mood image)
Of course you can always see the original icon and original meta data by not using style=mine.
If a user's posts or comments show up a lot in your journal or reading page, and you get confused about who it is because they use so many different icons (or their explicit or seizure inducing icons are getting to you), you can put this code in your custom css
Update:
.userpic a { background-repeat: no-repeat; width: 110px; height: 110px; background-position: 4px 4px;}
.poster-username .userpic img { display: none; }
.poster-username .userpic a { background-image: url("the url of the icon you want"); padding-right: 100px; padding-bottom: 100px; }
Where it says .poster-username you have to put the real username of the user whose icon you would like to stay the same, for example .poster-noracharles
Where it says url("the url of the icon you want") you have to put a real url of an icon you think you can consistently recognize as belonging to the user, for example url("http://www.dreamwidth.org/userpic/111635/163307")
Where it says padding-right: 100px; you have to put the width of the icon you have chosen, which may be 100px or less, and where it says padding-bottom: 100px; you have to put the height of the icon.
Add as many users as you want, as long as their usernames do not contain a disallowed character string, like "eval". (You don't have to repeat the .userpic a command.)
ETA: Thank you
If you get confused about the meta data, like mood, location and music you can remove it from view by putting this in your custom css:
.metadata {display: none;}
ETA:
From
To hide mood, location and music but leave the crossposted footer visible:
.metadata-label {display: none;} (Hides "Mood:" etc)
.metadata-item {display: none;} (Hides "Excited" etc)
.metadata li img {display: none;} (Hides the mood image)
Of course you can always see the original icon and original meta data by not using style=mine.

no subject
To do that, substitute journal-communityname for poster-username.
no subject
no subject
no subject
no subject
It'll also hide crosspost links, which are metadata, and I like them. Then, they're a new feature, so they'll get fiddled with.
Don't feel the need to hide icons, but nice to know you can do it.
no subject
no subject
I knew this, honest. My brain was just, um, somewhere else.
no subject
no subject
Smartarse is a compliment in this household. Think that icon might be too easily misconstrued, ah well.
no subject
Though I advise to hide
.metadata-label, .metadata-itemrather than.metadata.no subject
no subject
I tried hiding .metadata-label, .metadata-item first, because that's what I was able to find in the code (I don't know much about how to use css), but I couldn't figure out how to hide the mood image.
I tried img.metadata and other shots in the dark, but couldn't guess it. Can you tell me how to hide the mood image?
no subject
Should be
.metadata li img {display:none;}. Oddly enough the mood img isn't wrapped in thespan.metadata-mood-contenttag, nor has it a.metadata-mood-imgclass. Hmm maybe it should.Lemme know if it works or not.
no subject
Thank you!
no subject
no subject
♥
no subject
no subject
no subject
no subject
Hi! I just saw your ETA, and I wanted to add a precision:
Without specifying which section to hide ( by adding -{type} after either .metadata-label or metadata-item) this will hide all metadata labels or items, xpost links included. Type can take the following values: mood, music, location, xpost
You can still use
.metadata-{label|item} {display:none}to hide everything and then, to selectively show some of them, use.metadata-{label|item}-{mood|music|location|xpost}{display:visible;}.I was advising avoiding to hide the whole
.metadatablock mostly to avoid messing with the overall look of the entry in case some of the spacing was dependent of this block.no subject
no subject
no subject
no subject
.userpic a { background-repeat: no-repeat; width: 110px; height: 110px; background-position: 4px 4px;}
.poster-lucitania .userpic img { display: none; }
.poster-lucitania .userpic a { background-image: url("http://www.dreamwidth.org/userpic/131637/139199"); }
That should change the icon of the first commenter on the top entry in your journal.
no subject
After I changed my preferences to show entry pages in my journal style rather than the site layout, I got the same result as from my reading page -- it disappears the icon without replacing it.
I even tried changing my layout to "Blanket" and added the css and reloaded, but got the same result.
I left in the css this time in case I'm somehow failing at copy and paste. :/
no subject
I'm using Transmogrified Basic, so maybe it's because we have different journal styles. I think they'll be able to figure it out and give you some code which will work in your layout if you ask in support.
no subject
no subject