Search 
Search Forums:


 




How do I style my comment form or comments to look like yours?

Reply to Post
UserPost

9:19 pm
April 19, 2008


Aaron

Admin

posts 245

I use the following in my theme’s style.css file to style my inline comments and inline comment form.

  1. /* Comment Stuff */
  2. .awpcomments ol.comments, .post_comments ol.comments {
  3. padding-left:0;
  4. margin-left:0;
  5. list-style-type:none !important;
  6. }
  7. .awpcomments ol.comments * > ol.reply, .post_comments ol.comments * > ol.reply {
  8. list-style-type:none !important;
  9. padding-left:1.3em;
  10. margin-left:0;
  11. /*border-left: 1px dashed #477CAA;*/
  12. }
  13. .awpcomments * ol.reply{
  14. list-style-type:none !important;
  15. }
  16. .authorcomment {
  17. border:1px solid #c0c0c0;
  18. background-color:#fafbfc;
  19. color:#3C3C3C;
  20. line-height:1.5em;
  21. margin:3px;
  22. padding:4px;
  23. }
  24. .commentbar {
  25. display:block;
  26. margin:0 !important;
  27. padding:5px 5px 10px 5px !important;
  28. font-weight:400;
  29. text-align:left;
  30. color: #FFFFFF;
  31. background:#477CAA;
  32. }
  33. .commentbar cite{
  34. font-style:normal;
  35. }
  36. .commentbar a {
  37. font-weight:700 !important;
  38. text-decoration:underline !important;
  39. color: #FFFFFF !important;
  40. }
  41. .commentbar a:hover {
  42. text-decoration:none !important;
  43. color: #FFFFFF !important;
  44. }
  45. .comment_form input[type=text], .comment_form textarea, .input {
  46. font-size: 1.1em;
  47. padding: 3px;
  48. color: #606060;
  49. background: #f3f3f3;
  50. border: 2px solid #a5bbcf !important;
  51. }
  52. .comment_form input[type=text]:focus, .comment_form textarea:focus, .input:focus {
  53. background: #fff;
  54. color: #333;
  55. border: 2px solid #90a9c0 !important;
  56. }
  57. .preview_comment{
  58. border: 2px solid #90a9c0 !important;
  59. padding-top: 10px;
  60. background: #ffffff url('YOURSITE/modules/inlinecommentform/close_normal.gif') top left no-repeat;
  61. }
  62. .comment_form input[type=text] {
  63. width: 45%;
  64. margin: 5px 5px 1px 0;
  65. }
  66. .comment_form textarea {
  67. height: 250px;
  68. width: 95% !important;
  69. margin-right:4% !important;
  70. font-size: 1.2em;
  71. }
  72. .comment_form input[type=submit],.comment_form input[type=button] {
  73. background: #7EAED7;
  74. border: 1px solid #90a9c0;
  75. color: #FFFFFF;
  76. }
  77. .ed_button, .submit{
  78. background: #7EAED7;
  79. border: 1px solid #90a9c0;
  80. color: #FFFFFF;
  81. }
  82. Use the following to copy and paste the code.

6:03 pm
September 24, 2008


Ragnar Jón

Guest

How can I get the Subscribe to Comments plugin to work with WP-Ajax?

I can’t seem to put the < ?php show_subscription_checkbox(); ?> anywhere in comments.php so that it works.

Thanks.
-Ragnar

6:28 pm
September 24, 2008


Aaron

Admin

posts 245

Please make a new thread in the support forum. Thank you.

Reply to Post


Reply to Topic: How do I style my comment form or comments to look like yours?

NOTE: New Posts are subject to administrator approval before being displayed

Name (Required):

EMail (Required):

Website):

Guest URL (required)

Math Required!
What is the sum of: 5 + 10        (Required)

Topic Reply:


 

About the Anthology of Ideas forum

Currently Online:

6 Guests

Maximum Online: 33

Forums:

Groups: 2

Forums: 6

Topics: 214

Posts: 673

Members:

There are 1 members

There are 201 guests

Aaron has made 245 posts

Top Posters:

Administrator: Aaron