← WordPress

Blocos num post

Lida 2974 vezes

Offline

HawK 
Membro
Mensagens 1698 Gostos 0
Feedback +8

Troféus totais: 29
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

Boas,
Queria que me ajudassem, no espaço do post, tenho espaço para colocar 2 blocos adsense rectangulares um ao pe do outro. Mas não fica. uso editor html, como faço ? :S
Offline

Luís Salvador 
Membro
Mensagens 2068 Gostos 37
Feedback +4

Troféus totais: 28
Trófeus: (Ver todos)
Apple User Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

Podes usar uma tabela de duas colunas e uma linha.
Offline

HawK 
Membro
Mensagens 1698 Gostos 0
Feedback +8

Troféus totais: 29
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

Podes usar uma tabela de duas colunas e uma linha.
Não percebi
Offline

Jota 
Editor
Mensagens 773 Gostos 0
Feedback +1

Troféus totais: 27
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

Ou dois divs com float left..

Sem saber o teu código.

Código: [Seleccione]

<div style="width:100%">
  <div style="width:50%; float:left">
    CODIGO ADSENSE
  </div>

  <div style="width:50%; float:left">
  CODIGO ADSENSE
  </div>
</div>


inline css não é o melhor, mas é só para dar um exemplo.
Offline

HawK 
Membro
Mensagens 1698 Gostos 0
Feedback +8

Troféus totais: 29
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

Ou dois divs com float left..
Como faço isso ? :S
Offline

Nuno 
Administrador
Mensagens 7780 Gostos 216
Feedback +2

Troféus totais: 42
Trófeus: (Ver todos)
100 Poll Votes Level 7 Search Mobile User Level 6 Super Combination Combination Topic Starter 50 Poll Votes 10 Poll Votes

no single.php

Código: (html4strict) [Seleccione]
<div class="pub">
<div class="pub1">
codigo da pub
</div>
<div class="pub2">
codigo da pub
</div>
</div>

no style.css

Código: (css) [Seleccione]
.pub {
width: 600px
}
.pub1 {
float: left;
width:300px
}
.pub2 {
float: left;
width:300px
}
Offline

Jota 
Editor
Mensagens 773 Gostos 0
Feedback +1

Troféus totais: 27
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

Ta ai o Nuno deu a resposta :)

Podes teres os dois divs pub1 e pub2 com a mesma classe :P  :wink:
Offline

Nuno 
Administrador
Mensagens 7780 Gostos 216
Feedback +2

Troféus totais: 42
Trófeus: (Ver todos)
100 Poll Votes Level 7 Search Mobile User Level 6 Super Combination Combination Topic Starter 50 Poll Votes 10 Poll Votes

Ta ai o Nuno deu a resposta :)

Podes teres os dois divs pub1 e pub2 com a mesma classe :P  :wink:

  #-o  :lol:
Offline

HawK 
Membro
Mensagens 1698 Gostos 0
Feedback +8

Troféus totais: 29
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

Depois de inserir o que o Nuno disse nos respectivos ficheiros. Como é que faço para os colocar no post ? Normalmente so que desta vez ficam juntos é ? :S
Offline

Jóni Oliveira 
Administrador
Mensagens 3428 Gostos 395
Feedback +28

Troféus totais: 35
Trófeus: (Ver todos)
Tenth year Anniversary Nineth year Anniversary Mobile User Apple User Level 6 Windows User Super Combination Combination Topic Starter 10 Poll Votes

Depois de inserir o que o Nuno disse nos respectivos ficheiros. Como é que faço para os colocar no post ? Normalmente so que desta vez ficam juntos é ? :S

Aquilo já fica no post...
Offline

HawK 
Membro
Mensagens 1698 Gostos 0
Feedback +8

Troféus totais: 29
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

Aquilo já fica no post...
Fica ? Aqui não ficou.

Tipo, fiz um post normal, tudo continuou igual, meti os blocos, ficaram igual como tavam antes.
Offline

Jóni Oliveira 
Administrador
Mensagens 3428 Gostos 395
Feedback +28

Troféus totais: 35
Trófeus: (Ver todos)
Tenth year Anniversary Nineth year Anniversary Mobile User Apple User Level 6 Windows User Super Combination Combination Topic Starter 10 Poll Votes

Fica ? Aqui não ficou.

Tipo, fiz um post normal, tudo continuou igual, meti os blocos, ficaram igual como tavam antes.

Abre o post (single.php....)
Offline

HawK 
Membro
Mensagens 1698 Gostos 0
Feedback +8

Troféus totais: 29
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

Mas eu quero que apareça no meio do post, entre o texto. EX:http://zoapi.com/blog/2010/10/21/ozil-empurra-arbitro/