feed me feed me chillireward

Article (in detail)

Comments Tweak in Wordpress -2

 

Setting the styles for comments.

Part 1 of this tweak is available here.

Open the CSS file, named style.css located in the current theme folder and define the following:

.comments{
padding:10px 0px 0px 30px;
margin:0px 0px 5px 0px;
background:url("images/commenticon.gif") no-repeat top left;
font-size:0.9em;
}

.comments-Byauthor{
padding:10px 0px 0px 30px;
margin:0px 0px 5px 0px;
color:#c60;
background:url("images/authorcommenticon.gif") no-repeat top left;
font-size:0.9em;
}

/* backgrounds for alternate comments and author comments alt is for oddcomments, 1,3,5 etc. def is for 2nd 4th comment etc., auth is for author comments. */

.alt{background:#FDF5E6;border:1px dashed #cc0;margin:-10px 0px 0px 0px;padding:10px;}
.def{background:#F6F0D4;border:1px dashed #cc0;margin:-10px 0px 0px 0px;padding:10px;}
.auth{background:#F6F6D9;border:1px dashed #c90;margin:-10px 0px 0px 0px;padding:10px;}

Make sure that you have created appropriate icons and placed them in the images folder. Also make sure that the style definitions match your site design!.

Page copy protected against web site content infringement by Copyscape

Liked this article? Subscribe to the article feed via feedburner. Dont want to be hassled by feeds, you can Subscribe by E-mail. Want to know who said what? Get my comments feed. Dont know what a RSS feed is? Read about RSS feeds.

Other Posts for you to Enjoy

Feedback Please!

Note: Your comments may take time to appear, as they are moderated for the first time..

All comments are followed.

 
 
Security Image