.: docsPT :. Documentários em português

Secção de Ajuda => Dúvidas => Dúvidas técnicas => Tópico iniciado por: HBM em Segunda, 02 de Junho, 2014 - 22h35

Título: Blog Dúvida - Título
Enviado por: HBM em Segunda, 02 de Junho, 2014 - 22h35
Boa Noite Pessoal!  :wave:

Há Algumas semanas (Sério foram Muitas) eu venho tentando centralizar o Título de meu Blog ou tentando ao menos por uma imagem com o Título e mudando a imagem de Fundo. Eu sinceramente não consegui nenhuma das dicas que encontrei na internet. Tenho falado com o Fraga sobre isso, mas como os horários não se batem, venho por meio deste fórum pedir dicas, pois não sei mais o que fazer.

Esta assim no modelo de Loyout:

Código: [Selecionar]
<b:widget id='Header1' locked='true' title='BaixeDocs Wild (Cabeçalho)' type='Header'>
                <b:includable id='main'>
                  <b:if cond='data:useImage'>
                    <b:if cond='data:imagePlacement == &quot;BEHIND&quot;'>
                      <!--
Show image as background to text. You can't really calculate the width
reliably in JS because margins are not taken into account by any of
clientWidth, offsetWidth or scrollWidth, so we don't force a minimum
width if the user is using shrink to fit.
This results in a margin-width's worth of pixels being cropped. If the
user is not using shrink to fit then we expand the header.
-->
                      <b:if cond='data:mobile'>
                        <div id='header-inner'>
                          <div class='titlewrapper' style='background: transparent'>
                            <h1 class='title' style='background: transparent; border-width: 0px'>
                              <b:include name='title'/>
                            </h1>
                          </div>
                          <b:include name='description'/>
                        </div>
                        <b:else/>
                        <div expr:style='&quot;background-image: url(\&quot;&quot; + data:sourceUrl + &quot;\&quot;); &quot;                        + &quot;background-position: &quot;                        + data:backgroundPositionStyleStr + &quot;; &quot;                        + data:widthStyleStr                        + &quot;min-height: &quot; + data:height                        + &quot;_height: &quot; + data:height                        + &quot;background-repeat: no-repeat; &quot;' id='header-inner'>
                          <div class='titlewrapper' style='background: transparent'>
                            <h1 class='title' style='background: transparent; border-width: 0px'>
                              <b:include name='title'/>
                            </h1>
                          </div>
                          <b:include name='description'/>
                        </div>
                      </b:if>
                      <b:else/>
                      <!--Show the image only-->
                      <div id='header-inner'>
                        <a expr:href='data:blog.homepageUrl' style='display: block'>
                          <img expr:alt='data:title' expr:height='data:height' expr:id='data:widget.instanceId + &quot;_headerimg&quot;' expr:src='data:sourceUrl' expr:width='data:width' style='display: block'/>
                        </a>
                        <!--Show the description-->
                        <b:if cond='data:imagePlacement == &quot;BEFORE_DESCRIPTION&quot;'>
                          <b:include name='description'/>
                        </b:if>
                      </div>
                    </b:if>
                    <b:else/>
                    <!--No header image -->
                    <div id='header-inner'>
                      <div class='titlewrapper'>
                        <h11 class='title'>
                          <b:include name='title'/>
                        </h11>
                      </div>
                      <b:include name='description'/>
                    </div>
                  </b:if>
                </b:includable>
                <b:includable id='description'>
                  <div class='descriptionwrapper'>
                    <p class='description'>
                      <span>
                        <data:description/>
                      </span>
                    </p>
                  </div>
                </b:includable>
                <b:includable id='title'>
                  <b:if cond='data:blog.url == data:blog.homepageUrl'>
                    <data:title/>
                    <b:else/>
                    <a expr:href='data:blog.homepageUrl'>
                      <data:title/>
                    </a>
                  </b:if>
                </b:includable>
              </b:widget>

Quem Puder me ajudar, ficaria muito Agradecido.

Atenciosamente;
Hugo Barbosa
Título: Re: Blog Dúvida - Título
Enviado por: Web-Man em Quarta, 04 de Junho, 2014 - 21h54
Olá Hugo Barbosa,
Nunca trabalhei com blogspot, mas dá para perceber que isso não é html/php puro.

O código que deves adicionar no título será semelhante a:
Código: [Selecionar]
<p style="text-align: center;">Título do Blog</p>
Título: Re: Blog Dúvida - Título
Enviado por: HBM em Quarta, 04 de Junho, 2014 - 23h08
Mas eu colocaria este código aonde?
Título: Re: Blog Dúvida - Título
Enviado por: FragaCampos em Sexta, 06 de Junho, 2014 - 05h17
Já experimentaste isto?
http://www.slideshare.net/ClaudiaB/put-your-logo-in-the-header-of-a-blogger-blog (http://www.slideshare.net/ClaudiaB/put-your-logo-in-the-header-of-a-blogger-blog)
Título: Re: Blog Dúvida - Título
Enviado por: HBM em Sexta, 06 de Junho, 2014 - 14h17
também não deu certo. Talvez eu possa deletar este widget e fazer outro no lugar certinho, será que daria certo?
Título: Re: Blog Dúvida - Título
Enviado por: FragaCampos em Sexta, 06 de Junho, 2014 - 22h26
Nada como experimentares...
Título: Re: Blog Dúvida - Título
Enviado por: tomafonso em Terça, 10 de Junho, 2014 - 21h47
<center> titulo </center>

nada como um simples html para resolver

para incluir basta achar o cabecalho do site onde quer q esteja no seu caso está dentro de uma header

entao basta incluir

no exemplo do web-man tbm da certo porem mais simples seria vc forçar simplesmente coloque um align=center
Título: Re: Blog Dúvida - Título
Enviado por: HBM em Terça, 10 de Junho, 2014 - 22h00
mas você poderia colocar como ficaria no próprio html que coloquei, pq não sei onde colocar este negoço. Por favor..