Hisabeel

How many columns?

Oct 3rd, 2017
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.33 KB | None | 0 0
  1. Para mudar o número de colunas de posts que o seu tema tem, procure pelo código abaixo:
  2.     #posts{
  3.     float:center;
  4.     {block:indexpage}
  5.     width:O SEU NÚMERO AQUI;
  6.     {/block:indexpage}
  7.     {block:permalinkpage}
  8.     width:600px;
  9.     {/block:permalinkpage}
  10.     z-index:999999;
  11.     margin-left:120px;
  12.     margin-top:15px;
  13.     right:auto;
  14.     background:transparent;
  15.     margin-right:auto;
  16.     position:relative;
  17.     overflow-y:hidden;
  18.     }
  19.  
  20. Onde diz "o seu número aqui" você coloca:
  21.     1 coluna: 400px
  22.     2 colunas: 600px
  23.     3 colunas: 1000px
  24.     4 colunas: 1200px
  25. Consoante o número de colunas que quiser.
  26.  
  27. A seguir procure por photo, e encontrará um código assim:
  28.     {block:IndexPage}<a href="{ReblogURL}" target="_blank"><img src="{PhotoURL-500}" alt="{PhotoAlt}" width=LARGURA DOS POSTS></a>{LinkCloseTag}</center>{/block:IndexPage}
  29.  
  30. Onde diz "largura dos posts" você coloca o mesmo número que usou para as colunas.
  31.     Por exemplo, você quer 3 colunas, o código ficará desta forma:
  32.         {block:IndexPage}<a href="{ReblogURL}" target="_blank"><img src="{PhotoURL-500}" alt="{PhotoAlt}" width=1000></a>{LinkCloseTag}</center>{/block:IndexPage}
  33.  
  34.  
  35. x ----------------------------------------------------------------------------------------------------------------------------------- x
  36.  
  37.  
  38. To change the number of posts columns that your theme has, look for the code below:
  39.     #posts{
  40.     float:center;
  41.     {block:indexpage}
  42.     width:YOUR NUMBER HERE;
  43.     {/block:indexpage}
  44.     {block:permalinkpage}
  45.     width:600px;
  46.     {/block:permalinkpage}
  47.     z-index:999999;
  48.     margin-left:120px;
  49.     margin-top:15px;
  50.     right:auto;
  51.     background:transparent;
  52.     margin-right:auto;
  53.     position:relative;
  54.     overflow-y:hidden;
  55.     }
  56.  
  57. Where it says "your number here" you put:
  58.     1 column: 400px
  59.     2 columns: 600px
  60.     3 columns: 1000px
  61.     4 columns: 1200px
  62. Depending on the number of columns you want.
  63.  
  64. Then search for photo, and you will find a code like this:
  65.     {block:IndexPage}<a href="{ReblogURL}" target="_blank"><img src="{PhotoURL-500}" alt="{PhotoAlt}" width=POSTS WIDTH></a>{LinkCloseTag}</center>{/block:IndexPage}
  66.  
  67. Where it says "posts width" you enter the same number as you used for the columns.
  68.     For example, you want 3 columns, the code will looks like this:
  69.         {block:IndexPage}<a href="{ReblogURL}" target="_blank"><img src="{PhotoURL-500}" alt="{PhotoAlt}" width=1000></a>{LinkCloseTag}</center>{/block:IndexPage}
Add Comment
Please, Sign In to add comment