Thứ Tư, 1 tháng 2, 2017

Tạo Style khung bình luận bài viết cực đẹp cho Blogspot

Tạo Style khung bình luận bài viết cực đẹp cho Blogspot

Đây là một style dành cho khung nhận xét mặc định của Blogger. Với style này khung nhận xét của bạn trở nên trực quan hơn khi có sự phân biệt rõ ràng giữa nhận xét reply và nhận xét được reply. Nhận xét của tác giả bài viết được gắn thêm ribbon để phân biệt với các nhận xét khác. Style này được thiết kế theo đúng phong cách mình vẫn theo đuổi lâu nay: đơn giản, rõ ràng và hiện đại. Style này là thiết kế ban đầu dành cho những template của mình sau này vốn sẽ áp dụng Thread Comment làm mặc định, hi vọng nó phù hợp với style đại đa số blog.



Thêm đoạn mã dưới đây vào trước thẻ]]></b:skin>trong template của bạn.
#comments{overflow:hidden}
#comments h4{display:inline;padding:10px;line-height:40px}
#comments h4,.comments .comment-header,.comments .comment-thread.inline-thread .comment{position:relative}
#comments h4,.comments .continue a{background:#d80556}
#comments h4,.comments .user a,.comments .continue a{font-size:16px}
#comments h4,.comments .continue a{font-weight:normal;color:#fff}
#comments h4:after{content:"";position:absolute;bottom:-10px;left:10px;border-top:10px solid #d80556;border-right:20px solid transparent;width:0;height:0;line-height:0}
#comments .avatar-image-container img{border:0}
.comment-thread{color:#111}
.comment-thread a{color:#777}
.comment-thread ol{margin:0 0 20px}
.comment-thread .comment-content a,.comments .user a,.comments .comment-thread.inline-thread .user a{color:#d80556}
.comments .avatar-image-container,.comments .avatar-image-container img{width:48px;max-width:48px;height:48px;max-height:48px}
.comments .comment-block,.comments .comments-content .comment-replies,.comments .comment-replybox-single{margin-left:60px}
.comments .comment-block,.comments .comment-thread.inline-thread .comment{border:1px solid #ddd;background:#f9f9f9;padding:10px}
.comments .comments-content .comment{margin:15px 0 0;padding:0;width:100%;line-height:1em}
.comments .comments-content .icon.blog-author{position:absolute;top:-12px;right:-12px;margin:0;background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhodZyGeBVaoxbnVoiPAbvHN9dzI2riMGHcDtQaAl72pbuAqqiaPyfWZX_15-412YVGH03w9HyMRSlfAfq-RlEFhsyCN6cNAL5oifLAhincssjiVWkEkesMigsjhzoChCEZZpNkZxquRMA/);width:36px;height:36px}
.comments .comments-content .inline-thread{padding:0 0 0 20px}
.comments .comments-content .comment-replies{margin-top:0}
.comments .comment-content{padding:5px 0;line-height:1.4em}
.comments .comment-thread.inline-thread{border-left:1px solid #ddd;background:transparent}
.comments .comment-thread.inline-thread .comment{width:auto}
.comments .comment-thread.inline-thread .comment:after{content:"";position:absolute;top:10px;left:-20px;border-top:1px solid #ddd;width:10px;height:0px}
.comments .comment-thread.inline-thread .comment .comment-block{border:0;background:transparent;padding:0}
.comments .comment-thread.inline-thread .comment-block{margin-left:48px}
.comments .comment-thread.inline-thread .user a{font-size:13px}
.comments .comment-thread.inline-thread .avatar-image-container,.comments .comment-thread.inline-thread .avatar-image-container img{width:36px;max-width:36px;height:36px;max-height:36px}
.comments .continue{border-top:0;width:100%}
.comments .continue a{padding:10px 0;text-align:center}
.comment .continue{display:none}
#comment-editor{width:103%!important}
.comment-form{width:100%;max-width:100%}

d80556 là màu chủ đạo của style Thread Comment này, bạn có thể thay đổi nó theo ý muốn.

Related Posts:

  • Free Blogger Template tin tức giao diện đẹp Sevida v1.7 Blogger Template Sevida v1.7 rất thân thiện với công cụ tìm kiếm, nếu bạn đang tìm một blog chuẩn seo và đẹp thì Sevida v1.7 sẽ giúp bạn có được một blog cá nhân dạng tạp chí khá hoàn chỉnh. Download: Sevid… Read More
  • Sửa lỗi phân trang blogger trong chỉnh sửa HTML Chỉnh sửa HTML để tạo menu phân trang cho blog, khi lưu mẫu thấy báo lỗi : Mẫu của bạn không thể được phân tích cú pháp vì được tạo không đúng. Hãy đảm bảo tất cả các phần từ XML được đóng chính xác. Thông báo lỗi XML:… Read More
  • Hướng dẫn tối ưu hóa công cụ tìm kiếm BlogspotCách cài công cụ search google cho nguồn cấp của trang . Như ta đã biết mặc định công cụ tìm kiếm của Blogspot chỉ giới hạn tìm kiếm các từ khóa trên title điều này sẽ gây hạn hẹp nội dung tìm kiếm cho người dùng trên blog.… Read More
  • Hướng Dẫn Xóa Chữ Cung Cấp Bởi Blogger Khi chúng ta sử dụng template của blogger, thường hay dính chữ (Được cung cấp bởi Blogger). Hôm nay mình sẽ hướng dẫn các bạn xóa dòng chữ đó để website của mình trông bắt mắt hơn. 1. Các bạn vào Mẫu -> Chỉnh sửa H… Read More
  • Share Ijonkz v1.3 – Blogger Template tin tức đẹp Phiên bản hiện tại: 1.3 100% Responsive (đóng hộp hoặc đầy đủ) Hướng dẫn Các bài viết từ Image Widget (Responsive chạy mau Slideshow) Tự động bật Post (Responsive chạy mau Slideshow) Hỗ trợ Blogger Template Customiz… Read More

0 nhận xét:

Đăng nhận xét