Advertisement
Hisabeel

How put "asked by anonymous" with different font and color?

Sep 28th, 2017
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.90 KB | None | 0 0
  1. Este tutorial é para explicar como alterar a fonte e a cor nas postagens do blog respondidas. Veja a imagem abaixo:
  2.     IMAGEM: http://68.media.tumblr.com/d48f1e28d096f3717fe55013ee7a39e2/tumblr_inline_ntbug7eZsy1roxd0b_500.png
  3.  
  4. Abaixo, você terá o código que deverá encontrar para fazer as suas modificações.
  5.     {block:Answer}
  6.     <div style=border:1px solid #f5f5f5; margin:3px; margin-top:-5px; min-height:30px; padding:3px; background:#fafafa>
  7.     <img src={AskerPortraitURL-30}” width=30” align=left” style=margin-right:4px; margin-top:-6px; margin-left:0px; border:1px solid #eee; padding:7px; background:#fff; box-shadow:0px 2px 6px rgba(0, 0, 0, 0.06); -moz-box-shadow:0px 2px 6px rgba(0, 0, 0, 0.06); -webkit-box-shadow:0px 2px 6px rgba(0, 0, 0, 0.06)>
  8.     <askk>{Asker}</askk>: {Question}</div>
  9.     <div style=font-family:calibri; font-size:10px>{Answer}</div>
  10.     {/block:Answer}
  11.  
  12. Agora, abaixo, você terá o código já com as alterações feitas.
  13.     {block:Answer}
  14.     <div style=border:1px solid #f5f5f5; margin:3px; margin-top:-5px; min-height:30px; padding:3px; background:#fafafa>
  15.     <img src={AskerPortraitURL-30}” width=30” align=left” style=margin-right:4px; margin-top:-6px; margin-left:0px; border:1px solid #eee; padding:7px; background:#fff; box-shadow:0px 2px 6px rgba(0, 0, 0, 0.06); -moz-box-shadow:0px 2px 6px rgba(0, 0, 0, 0.06); -webkit-box-shadow:0px 2px 6px rgba(0, 0, 0, 0.06)>
  16.     <askk><font color=#COLOR CODE”><font family=“FONT NAME”>{Asker}</font></font></askk>: {Question}</div>
  17.     <div style=font-family:calibri; font-size:10px>{Answer}</div>
  18.     {/block:Answer}
  19.  
  20. Está feito, é muito simples de fazer, basta encontrar o código Asker, que é onde se encontra a questão. Se desejar alterar a fonte e a cor da sua resposta, apenas faça o mesmo procedimento, basta pesquisar por Question. :)
  21.  
  22.  
  23.  
  24. x ----------------------------------------------------------------------------------------------------------------------------------- x
  25.  
  26.  
  27. This tutorial is to explain how to change the font and color in the blog posts answered. See the image below:
  28.     IMAGE: http://68.media.tumblr.com/d48f1e28d096f3717fe55013ee7a39e2/tumblr_inline_ntbug7eZsy1roxd0b_500.png
  29.  
  30. Below you will have the code that you have to find to do your modifications.
  31.     {block:Answer}
  32.     <div style=border:1px solid #f5f5f5; margin:3px; margin-top:-5px; min-height:30px; padding:3px; background:#fafafa>
  33.     <img src={AskerPortraitURL-30}” width=30” align=left” style=margin-right:4px; margin-top:-6px; margin-left:0px; border:1px solid #eee; padding:7px; background:#fff; box-shadow:0px 2px 6px rgba(0, 0, 0, 0.06); -moz-box-shadow:0px 2px 6px rgba(0, 0, 0, 0.06); -webkit-box-shadow:0px 2px 6px rgba(0, 0, 0, 0.06)>
  34.     <askk>{Asker}</askk>: {Question}</div>
  35.     <div style=font-family:calibri; font-size:10px>{Answer}</div>
  36.     {/block:Answer}
  37.  
  38. Now, below you will have the code already with changes made.
  39.     {block:Answer}
  40.     <div style=border:1px solid #f5f5f5; margin:3px; margin-top:-5px; min-height:30px; padding:3px; background:#fafafa>
  41.     <img src={AskerPortraitURL-30}” width=30” align=left” style=margin-right:4px; margin-top:-6px; margin-left:0px; border:1px solid #eee; padding:7px; background:#fff; box-shadow:0px 2px 6px rgba(0, 0, 0, 0.06); -moz-box-shadow:0px 2px 6px rgba(0, 0, 0, 0.06); -webkit-box-shadow:0px 2px 6px rgba(0, 0, 0, 0.06)>
  42.     <askk><font color=#COLOR CODE”><font family=“FONT NAME”>{Asker}</font></font></askk>: {Question}</div>
  43.     <div style=font-family:calibri; font-size:10px>{Answer}</div>
  44.     {/block:Answer}
  45.  
  46. It’s done, it’s very simple to do, just simply find the code Asker, that’s who made you the question. Should you wish to change the font and color of your answer, just doing the same procedure, just search for Question. :)
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53. Produced by Hisabeel © All rights reserved
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement