Edit CSS Thread Comments Blogger

Edit CSS Thread Comments Blogger atau Merubah Tampilan Komentar Baru di Blogger, banyak rekan-rekan blogger yang bertanya tentang cara ini.

Pada tutorial sebelumnya, saya sudah menjelaskan Cara Membuat Thread Comment Blogger seperti Wordpress. Ketika kita merubah kepada fitur baru ini, tampilannya masih sederhana dan kurang professional.

Tampilan sebelum diedit:

blogger threaded comments

Setelah diedit:

blogger threaded comments

Untuk mengganti tampilan seperti pada blog saya, silahkan ikuti langkah-langkahnya.

1. Masuk ke Dasbor ---> Rancangan ---> Edit HTML
2. Silahkan Backup dulu template anda ---> Download Template Lengkap
3. Cari kode dibawah ini (untuk memudahkan gunakan Ctrl+F):
Kode:
<b:includable id='threaded_comment_css'>       
  <style>      
.comments {      
  clear: both;      
  margin-top: 10px;      
  margin-bottom: 0px;      
  line-height: 1em;      
}      
.comments .comments-content {      
  font-size: 13px;      
  margin-bottom: 16px;      
}      
.comments .comment .comment-actions a {      
  padding-top: 5px;      
  padding-right: 5px;      
}      
.comments .comment .comment-actions a:hover {      
  text-decoration: underline;      
}      
.comments .comments-content .comment-thread ol {      
  list-style-type: none;      
  padding: 0;      
  text-align: left;      
}      
.comments .comments-content .inline-thread {      
  padding: 0.5em 1em;      
}      
.comments .comments-content .comment-thread {      
  margin: 8px 0px;      
}      
.comments .comments-content .comment-thread:empty {      
  display: none;      
}      
.comments .comments-content .comment-replies {      
  margin-top: 1em;      
  margin-left: 36px;      
}      
.comments .comments-content .comment {      
  margin-bottom:16px;      
  padding-bottom:8px;      
}      
.comments .comments-content .comment:first-child {      
  padding-top:16px;      
}      
.comments .comments-content .comment:last-child {      
  border-bottom:0;      
  padding-bottom:0;      
}      
.comments .comments-content .comment-body {      
  position:relative;      
}      
.comments .comments-content .user {      
  font-style:normal;      
  font-weight:bold;      
}      
.comments .comments-content .icon.blog-author {      
  width: 18px;      
  height: 18px;      
  display: inline-block;      
  margin: 0 0 -4px 6px;      
}      
.comments .comments-content .datetime {      
  margin-left:6px;      
}      
.comments .comments-content .comment-header,      
.comments .comments-content .comment-content {      
  margin:0 0 8px;      
}      
.comments .comments-content .comment-content {      
  text-align:justify;      
}      
.comments .comments-content .owner-actions {      
  position:absolute;      
  right:0;      
  top:0;      
}      
.comments .comments-replybox {      
  border: none;      
  height: 250px;      
  width: 100%;      
}      
.comments .comment-replybox-single {      
  margin-top: 5px;      
  margin-left: 48px;      
}      
.comments .comment-replybox-thread {      
  margin-top: 5px;      
}      
.comments .comments-content .loadmore a {      
  display: block;      
  padding: 10px 16px;      
  text-align: center;      
}      
.comments .thread-toggle {      
  cursor: pointer;      
  display: inline-block;      
}      
.comments .continue {      
  cursor: pointer;      
}      
.comments .continue a {      
  display: block;      
  padding: 0.5em;      
  font-weight: bold;      
}      
.comments .comments-content .loadmore {      
  cursor: pointer;      
  max-height: 3em;      
  margin-top: 3em;      
}      
.comments .comments-content .loadmore.loaded {      
  max-height: 0px;      
  opacity: 0;      
  overflow: hidden;      
}      
.comments .thread-chrome.thread-collapsed {      
  display: none;      
}      
.comments .thread-toggle {      
  display: inline-block;      
}      
.comments .thread-toggle .thread-arrow {      
  display: inline-block;      
  height: 6px;      
  width: 7px;      
  overflow: visible;      
  margin: 0.3em;      
  padding-right: 4px;      
}      
.comments .thread-expanded .thread-arrow {      
  background: url(&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAA DEUlfTAAAAG0lEQVR42mNgwAfKy8v/48I4FeA0AacVDFQBAP9wJkE/KhUMAAAAAElFTkSuQmCC&quot;) no-repeat scroll 0 0 transparent;      
}      
.comments .thread-collapsed .thread-arrow {      
  background: url(&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAA DEUlfTAAAAJUlEQVR42mNgAILy8vL/DLgASBKnApgkVgXIkhgKiNKJ005s4gDLbCZBiSxfygAAAABJRU5ErkJggg==&quot;) no-repeat scroll 0 0 transparent;      
}      
.comments .avatar-image-container {      
  float: left;      
  width: 36px;      
  max-height: 36px;      
  overflow: hidden;      
}      
.comments .avatar-image-container img {      
  width: 36px;      
}      
.comments .comment-block {      
  margin-left: 48px;      
  position: relative;      
}/* Responsive styles. */    
@media screen and (max-device-width: 480px) {      
  .comments .comments-content .comment-replies {      
    margin-left: 0;      
  }      
}      
  </style>      
</b:includable>

4. Ganti kode dengan ini:
Kode:

5. Simpan dan Selesai.

Apabila tidak cocok dengan template Anda, silahkan edit CSS sesuka Anda. Semoga tutorial Edit CSS Thread Comments Blogger ini berguna bagi anda.

Bagi anda yang tidak menemukan Kode CSS Threaded Comments pada template, silahkan kunjungi artikel tentang Cara Menambahkan Kode CSS Threaded Comment

Special thank to Ravie Saive for a CSS code.