[artes] RE: Subject-line links

Dec 05, 2008 10:16

For anyone having trouble with the way that their subject lines are displaying, there's a CSS fix for this.
.subject a { color:#value; text-decoration:none; cursor:text; }

If your subject lines are showing the friends colors on your friends page, use this one instead:
.subject a { background:transparent !important; color:#value !important; text-decoration:none; cursor:text; }

If your subject lines are showing up in a wrong font, this is because you have a separate font definition in your links CSS. To fix this, add the following within the brackets of whichever of the above two codes you use:
font:size family !important;

If you already had a subject-line link color defined to give usernames in the subject line a different look:
Change the previous values of any of these to the following:
.subject .ljuser a
.subject .ljuser a:link
.subject .ljuser a:visited
.subject .ljuser a:active
.subject .ljuser a:hover

Then, before the } on these CSS link definitions, add this:
cursor:pointer;

This will keep the username links in subjects looking exactly as they did previously.

Obviously, you replace the following:
#value: your hex color code (for instance, #3399ff )
size: your font size (for instance, 20pt;)
family: your font name (for instance, Georgia)

!!artes, !layouts: livejournal

Previous post Next post
Up