← WordPress

Alterar tema

Lida 5047 vezes

Offline

Camoes 
Membro
Mensagens 15 Gostos 0
Troféus totais: 17
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 3 Level 2 Level 1 10 Posts First Post Karma

Boas,

eu tenho um tema que tem o nome do blog em texto, eu gostava de saber como posso alterar o tamanho, a fonte e como posso fazer para em vez de fazer aparecer o texto, aparecer um logo. Já estive a ver o código mas não consigo descobrir..

Cumprimentos
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

Normalmente isso está no header.php : )
Offline

Camoes 
Membro
Mensagens 15 Gostos 0
Troféus totais: 17
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 3 Level 2 Level 1 10 Posts First Post Karma

Nesta parte, certo ?
Código: [Seleccione]
<!--header -->
<div id="header-wrap">
<div id="header">   
   
    <div id="container1" class="floatleft">
    <img id="logo" class="floatleft" src="<?php echo ($wordPressThemeOptions->option['logo']);?>" />
        <div class="floatright">
            <h1 <FONT FACE=Tunga> <id="title" class="floatleft"><a href="<?php bloginfo('url'); ?>/"> <?php bloginfo ('name'); ?></a></h1></font>
            <div class="fix"></div>
            <h2 id="description" class="floatleft"><?php bloginfo('description');?></h2>
</div>           
</div>
   
<div class="fix"></div>

<!--/header-->

Será que me podias dizer como é que fica ? Sò um exemplo..

Obrigado!
Offline

Tiago Neto 
Membro
Mensagens 261 Gostos 0
Troféus totais: 25
Trófeus: (Ver todos)
Level 5 Tenth year Anniversary Nineth year Anniversary Super Combination Combination Topic Starter Poll Voter Level 4 Level 3 Level 2

Vais ao .css do theme e procuras por "logo" , lá podes mudar o tamanho da letra e esse tipo de coisas.
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

O melhor que se calhar tens a fazer é tirar isto:

<h1 <FONT FACE=Tunga> <id="title" class="floatleft"><a href="<?php bloginfo('url'); ?>/"> <?php bloginfo ('name'); ?></a></h1></font>

e por algo desde género:

<img src="http://SITE.com/logo.jpg" />

-----

Também o podes fazer pelas .css

Vais onde tiver .logo {} e metes lá:

background: url(URL DO LOGO);
Offline

Camoes 
Membro
Mensagens 15 Gostos 0
Troféus totais: 17
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 3 Level 2 Level 1 10 Posts First Post Karma

Obrigado pelas dicas !

Agora tenho um novo problema ! é que a imagem fica com um fundo branco... quando não tem fundo nenhum, por exemplo, a imagem é esta
e fica assim..
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

Experimenta alojá-la noutro lado.
Offline

Tiago Neto 
Membro
Mensagens 261 Gostos 0
Troféus totais: 25
Trófeus: (Ver todos)
Level 5 Tenth year Anniversary Nineth year Anniversary Super Combination Combination Topic Starter Poll Voter Level 4 Level 3 Level 2

Mas acho que ao pores no theme, fica direito.
Offline

Camoes 
Membro
Mensagens 15 Gostos 0
Troféus totais: 17
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 3 Level 2 Level 1 10 Posts First Post Karma

Já consegui meter a imagem direito, agora só inserir nesta linha de codigo
Código: [Seleccione]
<img id="logo"  class="floatleft" src="<?php echo ($wordPressThemeOptions->option['logo']);?>"  />de forma a clicando na logo vá para a home..
Alguém ?  :-k

E mais uma vez obrigado!
Offline

rtbfreitas 
Equipa
Mensagens 1497 Gostos 9
Feedback +24

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

Altera:

Código: [Seleccione]
<img id="logo"  class="floatleft" src="<?php echo ($wordPressThemeOptions->option['logo']);?>"  />
Para:

Código: [Seleccione]
<a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>"><img id="logo"  class="floatleft" src="<?php echo ($wordPressThemeOptions->option['logo']);?>" /></a>
Offline

Camoes 
Membro
Mensagens 15 Gostos 0
Troféus totais: 17
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 3 Level 2 Level 1 10 Posts First Post Karma

Altera:

Código: [Seleccione]
<img id="logo"  class="floatleft" src="<?php echo ($wordPressThemeOptions->option['logo']);?>"  />
Para:

Código: [Seleccione]
<a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>"><img id="logo"  class="floatleft" src="<?php echo ($wordPressThemeOptions->option['logo']);?>" /></a>

Obrigado a todos !
Offline

Camoes 
Membro
Mensagens 15 Gostos 0
Troféus totais: 17
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 3 Level 2 Level 1 10 Posts First Post Karma

Como é que eu faço para alterar isto
Código: [Seleccione]
<?php if (function_exists('get_calendar')) : ?>
            <div class="sidemenu">
            <h3>Calendario</h3>
<div id="calendar_wrap">
<?php get_calendar(true); ?>
</div>
</div>
<?php endif;?>
de forma a que em vez de aparecer o calendário, apareça as categorias?
Offline

Rogério Moreira 
Editor
Mensagens 1313 Gostos 11
Feedback +15

Troféus totais: 32
Trófeus: (Ver todos)
Level 6 Tenth year Anniversary Nineth year Anniversary Eighth year Anniversary Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter

Isso acho que mudas nos widgets. Aparência-->Widgets.
Offline

Camoes 
Membro
Mensagens 15 Gostos 0
Troféus totais: 17
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 3 Level 2 Level 1 10 Posts First Post Karma

Isso acho que mudas nos widgets. Aparência-->Widgets.

Sim, eu sei, Mas se mudar pelo menu altera-me e retira-me coisas que eu não queria..
Offline

Rogério Moreira 
Editor
Mensagens 1313 Gostos 11
Feedback +15

Troféus totais: 32
Trófeus: (Ver todos)
Level 6 Tenth year Anniversary Nineth year Anniversary Eighth year Anniversary Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter

Sim, eu sei, Mas se mudar pelo menu altera-me e retira-me coisas que eu não queria..

Hmm ok