Change Comment Text Color?
-
Go in style.css around line 531 look for this code
#blog_center .item_class .item_class_text {
background:transparent url(images/title_line.gif) no-repeat scroll right top;
color:#CCCCCC;
float:left;
font-size:13px;
line-height:20px;
padding:5px 0 5px 5px;
width:550px;#CCCCCC to the color you want NOTE that will change all fonts including article.
Should be adding the color rule to
#blog_center #blog_comm .comm_text { ... }, not#blog_center .item_class .item_class_text { ... }this one will only change
#blog_center .item_class .item_class_text {
color:#CCCCCC;
font-size:13px;
line-height:20px;When it comes to writing, most mistakes are—in and of themselves—forgivable. No professional is going to round-file your manuscript or screenplay because of a few isolated mistakes. Unless, of course, they’re Really Big Mistakes. This post is about one of those Really Big Mistakes…
while the one have above will change whole box
You can change both see you can always change them back.
J Marlow wants to change the text color of his comments.
#blog_center .item_class .item_class_textand what you’ve quoted there is the post content.Okay, now I’m totally confused.
Surely I can JUST change the color of the comment text?
THanks!
Like I’ve said, add a color rule to
#blog_center #blog_comm .comm_text { ... }. This will ONLY change the text color of your comments.Hi Joseph,
I can hard-code html, but am lost with css. Can I ask you to actually spell it out for me? I already see a color (pink) specified there, but it’s not showing up. A quick Google on “color rule” +style.css doesn’t bring me much that’s useful.
If you have a moment to write (or point me to) a proper color rule, I will faithfully implement it!
Thanks again.
I see that you already have the line
color:#FFOOCC;in the right place so you just have to change that to the color of your choice.The reason that line isn’t working is because the color code is wrong, using the letter O instead of numerical zero.
I mistake I am sorry I had click on comment to see the comment and as its now there is no color on fonts in comments around line 383
#blog_center #blog_comm {
float:left;
font-family:Verdana,Arial,Helvetica,sans-serif;
margin-left:30px;
width:520px;You need to add
color:#ffffff; this will make the fonts in comments white if you want make same as your content then #CCCCCC is used for your text in articles.
HA! Done.
Thank you!
The topic ‘Change Comment Text Color?’ is closed to new replies.
(@j-marlow)
15 years, 6 months ago
Approved comments appear black on dark gray background, making the text invisible. I’ve tried but cannot find the code that specifies text color for comments. I don’t want to change the background color–just the text.
Any help appreciated!
http://selfeditingblog.com/