Jul 04, 2014 23:59
I'm trying to set a different background colour for author comments only.
Is there a specific class that controls this? (i.e. on Wordpress it's something like .comment list .bypostauthor)
...or if anyone could tell me whether it's even possible to do this through editing the custom stylesheet?
Thank you :)
[solved] - see below
free accounts,
comments,
solved
Leave a comment
Comments 2
.ljuser a[href*="AUTHOR.livejournal"] {
background: #ff0000;
}
But with that you could do something like make the whole top of the comment stand out:
.ljuser a[href*="AUTHOR.livejournal.com/profile"] {
background: #ff0000;
}
.ljuser a[href$="AUTHOR.livejournal.com/"] {
display: block;
margin: -16px 0px -20px 0px;
padding: 0px 0px 20px 17px;
background: #ff0000;
}
Reply
Your code for altering the top of the comments works perfectly even though it's not quite what I was looking for. But thank you still!
Your journal is very beautiful btw :)
Reply
Leave a comment