Personalizando área de comentário


Personalizando área de comentário


Nerdzinhos e nerdzinhas - imagine isso na voz do Lula, que perfeito.
Uma leitora me pediu para ensinar a personalizar a área de comentário como a que está aqui no blog agora. E como eu sou uma blogueira muito angelical e dedicada estou atendendo o pedido o mais rápido possível - me amem, eu mereço.
É bem simples, mas como se trata de uma área delicada eu aconselho vocês a baixarem o modelo do blog antes de seguir qualquer passo. Então, vamos lá.

Os créditos do tutorial vão ao: Mundo Blogger


Vai ficar assim:

Vá em Modelo > Editar HTML e procure por:

/* Comments----------------------------------------------- */.comments .comments-content .icon.blog-author {  background-repeat: no-repeat;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEgAACxIB0t1+/AAAAAd0SU1FB9sLFwMeCjjhcOMAAAD+SURBVDjLtZSvTgNBEIe/WRRnm3U8RC1neQdsm1zSBIU9VVF1FkUguQQsD9ITmD7ECZIJSE4OZo9stoVjC/zc7ky+zH9hXwVwDpTAWWLrgS3QAe8AZgaAJI5zYAmc8r0G4AHYHQKVwII8PZrZFsBFkeRCABYiMh9BRUhnSkPTNCtVXYXURi1FpBDgArj8QU1eVXUzfnjv7yP7kwu1mYrkWlU33vs1QNu2qU8pwN0UpKoqokjWwCztrMuBhEhmh8bD5UDqur75asbcX0BGUB9/HAMB+r32hznJgXy2v0sGLBcyAJ1EK3LFcbo1s91JeLwAbwGYu7TP/3ZGfnXYPgAVNngtqatUNgAAAABJRU5ErkJggg==);} .comments .comments-content .loadmore a {  border-top: 1px solid $(widget.alternate.text.color);  border-bottom: 1px solid $(widget.alternate.text.color);} .comments .comment-thread.inline-thread {  background-color: $(post.footer.background.color);} .comments .continue {  border-top: 2px solid $(widget.alternate.text.color);}

Agora apague toda essa parte e substitua por:
/* Comments----------------------------------------------- */.comments{clear:both;margin-top:10px;margin-bottom:0;line-height:18px;font-size:13px}.comments .comments-content{margin-bottom:16px;font-weight:normal;text-align:left}.comments .comment .comment-actions a,.comments .comment .continue a{display:inline-block;margin:0 0 10px 10px;padding:0 15px;color:#999 !important; /*--- cor da fonte do botão reply--- */text-align:center;text-decoration:none;background: #FFB6C1;  /*--- cor de fundo do botão reply--- */background: -webkit-gradient( linear, left top, left bottom, color-stop(.2, white), color-stop(1, #F0FFF0) ); /*--- cor de fundo gradiente--- */background: -moz-linear-gradient( center top, white 20%, #FFB6C1 100% );/*--- cor de fundo gradiente--- */border:1px solid #F08080;  /*--- cor da borda do botão reply--- */border-radius:5px;-moz-border-radius:5px;height:26px;line-height:28px;font-weight:normal;cursor:pointer;}.comments .comment .comment-actions a:hover,.comments .comment .continue a:hover {text-decoration: none;
background:#FAEBD7; /*--- cor de fundo do botão reply houver--- */border:1px solid #FFB6C1; /*--- cor da borda do botão reply hover--- */}.comments .comments-content .comment-thread ol{list-style-type:none;padding:0;text-align:none}.comments .comments-content .inline-thread{padding:0}.comments .comments-content .comment-thread{margin:8px 0}.comments .comments-content .comment-thread:empty{display:none}.comment-replies{margin-top:1em;margin-left:40px;}.comments .comments-content .comment{margin-bottom:0;padding-bottom:0}.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:normal}.comments .comments-content .user a{font-weight:normal;text-decoration:none;} .comments .comments-content .icon.blog-author{background-repeat: no-repeat;  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEgAACxIB0t1+/AAAAAd0SU1FB9sLFwMeCjjhcOMAAAD+SURBVDjLtZSvTgNBEIe/WRRnm3U8RC1neQdsm1zSBIU9VVF1FkUguQQsD9ITmD7ECZIJSE4OZo9stoVjC/zc7ky+zH9hXwVwDpTAWWLrgS3QAe8AZgaAJI5zYAmc8r0G4AHYHQKVwII8PZrZFsBFkeRCABYiMh9BRUhnSkPTNCtVXYXURi1FpBDgArj8QU1eVXUzfnjv7yP7kwu1mYrkWlU33vs1QNu2qU8pwN0UpKoqokjWwCztrMuBhEhmh8bD5UDqur75asbcX0BGUB9/HAMB+r32hznJgXy2v0sGLBcyAJ1EK3LFcbo1s91JeLwAbwGYu7TP/3ZGfnXYPgAVNngtqatUNgAAAABJRU5ErkJggg==);width:18px;height:18px;display:inline-block;margin:0 0 -4px 6px;float:right;}.comments .comments-content .datetime a{font-size:11px;text-decoration:none; color:#666; /* -- cor do link da data do comentário -- */}.comment-content{margin:0 0 8px;padding:0 5px;}.comments .comment-block{margin-left:65px;position:relative;background:#FFF8DC; /* -- cor de fundo do comentário -- */border:3px solid #F08080; /* --- cor da borda do comentário ---*/border-radius:8px;-moz-border-radius:8px;}.comment-header{ /*--- linha onde fica o nome do autor do comentário --- */background-color:#FFB6C1;   /*--- cor de fundo--- */font-size:18px;border-bottom:1px solid #F08080;  /*--- cor da borda --- */padding:5px;}.comment-header a{color: $(link.color); /*--- cor do link nome do autor do comentario --- */} .comments .comments-content .owner-actions{position:absolute;right:0;top:0}.comments .comments-replybox{border:none;height:230px;width:100%}.comments .comment-replybox-thread{margin-top:0}.comments .comment-replybox-single{margin-top:5px;margin-left:48px}.comments .comments-content .loadmore a{display:block;padding:10px 16px;text-align:center}.comments .thread-toggle{cursor:pointer;display:inline-block}.comments .comments-content .loadmore{cursor:pointer;max-height:3em;margin-top:0}.comments .comments-content .loadmore.loaded{max-height:0;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("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAc AAAAHCAYAAADEUlfTAAAAG0lEQVR42mNgwAfKy8v/48I4FeA0AacVDFQBAP9wJkE/KhUMAAAAAElFTkSuQmCC") no-repeat scroll 0 0 transparent;}.comments .thread-collapsed .thread-arrow{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA AcAAAAHCAYAAADEUlfTAAAAJUlEQVR42mNgAILy8vL/DLgASBKnApgkVgXIkhgKiNKJ005s4gDLbCZBiSxfygAAAAB JRU5ErkJggg==") no-repeat scroll 0 0 transparent;}.avatar-image-container{background:url(http://3.bp.blogspot.com/-uyq6qUMgZY4/T9hNk34hREI/AAAAAAAAAK0/l7bMt9LUPTE/s1600/imagem-arrow.png) top right no-repeat; /*--- imagem arrow---*/float:leftvertical-align:middle;overflow:hidden;width:60px !important;height:50px !important;max-width:65px !important;max-height:51px !important}.comments .avatar-image-container img{padding:2px;border:1px solid #ccc;width:45px !important;height:45px !important;max-width:45px !important;max-height:45px !important;} 
Modifique as cores nos lugares indicados, salve e está pronto.

2 comentários:

  1. Thank You fofa! Obrigada por ouvir meu pedido, e é, você merece ser amada! Feliz Natal!

    ResponderExcluir