← WordPress

Imagem estática blog

Lida 3172 vezes

Offline

Pedro Miguel 
Membro
Mensagens 1161 Gostos 25
Feedback +11

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

Não sei se está no sítio correto, se não tiver peço desculpa!

Tenho uma imagem criada por mim e pretendo colocá-lo num site que tenho - pretendo que o site fique com essa imagem estática. Agora, a pergunta como faço isso? plugin? medidas da imagem?

Obrigado.
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

Estática? Queres dizer fixa sempre no mesmo sitio ?
Offline

Pedro Miguel 
Membro
Mensagens 1161 Gostos 25
Feedback +11

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

Sim amigo.

Entro no site e aparece a tal imagem a preencher o ecrã todo!
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

A preencher o ecrã todo ?

Queres fazer uma espécie de pop-up ?
Offline

Thomato 
Membro
Mensagens 4125 Gostos 3
Feedback +2

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

Não percebi bem o que queres, mas um ficheiro HTML branco e a tag <img> não resolvem?
Offline

Pedro Lopes 
Beta tester
Mensagens 3568 Gostos 18
Feedback +6

Troféus totais: 32
Trófeus: (Ver todos)
Level 6 Windows User Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3

Ele quer uma imagem que fique a preencher o ecrã todo, não importa a resolução do ecrã.
Offline

Pedro Miguel 
Membro
Mensagens 1161 Gostos 25
Feedback +11

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

Ele quer uma imagem que fique a preencher o ecrã todo, não importa a resolução do ecrã.

Sim, é mesmo isso.
Offline

Pedro Lopes 
Beta tester
Mensagens 3568 Gostos 18
Feedback +6

Troféus totais: 32
Trófeus: (Ver todos)
Level 6 Windows User Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3

http://css-tricks.com/perfect-full-page-background-image/
http://www.alistapart.com/articles/supersize-that-background-please/

Não esperes grande qualidade da imagem... Principalmente em alguns browsers que ao redimensionar uma imagem lhe tiram bastante qualidade...
Offline

Thomato 
Membro
Mensagens 4125 Gostos 3
Feedback +2

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

Não te aconselho a fazeres isso, vais ficar com a imagem desfocada. Faz antes uma imagem que tenha fundo de uma cor sólida e preenche o remanescente do ecrã com essa cor.
Offline

Pedro Miguel 
Membro
Mensagens 1161 Gostos 25
Feedback +11

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

Não te aconselho a fazeres isso, vais ficar com a imagem desfocada. Faz antes uma imagem que tenha fundo de uma cor sólida e preenche o remanescente do ecrã com essa cor.

O fundo vai ser um cor sólida. Por exemplo: azul, vermelho, verde, entre outras possíveis. O meu problema está como meter em WP o que penso fazer.

Tenho a imagem criada, alojo-a no servidor e depois? Coloco o link aonde? Preencho o resto como?

Obrigado a ambos :)
Offline

Pedro Lopes 
Beta tester
Mensagens 3568 Gostos 18
Feedback +6

Troféus totais: 32
Trófeus: (Ver todos)
Level 6 Windows User Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3

body {
   background: url('images/bg.jpg') top center no-repeat #0000FF;
}
Offline

Thomato 
Membro
Mensagens 4125 Gostos 3
Feedback +2

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

O fundo vai ser um cor sólida. Por exemplo: azul, vermelho, verde, entre outras possíveis. O meu problema está como meter em WP o que penso fazer.

Tenho a imagem criada, alojo-a no servidor e depois? Coloco o link aonde? Preencho o resto como?

Obrigado a ambos :)
Para uma coisa tão simples, não percebo o porquê do Wordpress.

Cria um ficheiro index.html e cola lá isto:
Código: [Seleccione]
<head>
<style>
#conteudo {
           background: #CÓDIGO DA COR DE FUNDO url('URL DA IMAGEM') no-repeat;
           widght: LARGURA DA IMAGEMpx;
           height: ALTURA DA IMAGEMpx;
           margin: auto;
}
</styke>
</head>

<body>
<div id="conteudo"></div>
</body>
Offline

Pedro Miguel 
Membro
Mensagens 1161 Gostos 25
Feedback +11

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

Mais logo vou testar e deixo feedback.

Obrigado a ambos.