← WordPress

Dúvidas Wordpress

Lida 7849 vezes

Offline

cenourinha 
Elite
Mensagens 4094 Gostos 21
Troféus totais: 34
Trófeus: (Ver todos)
Mobile User Apple User Level 6 Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4

1:

Código: [Seleccione]
a {
   text-decoration: none;
}
a:link {
   color: #666666;
}
a:visited {
   color: #666666;
}
a:active {
   color: #666666;
}
a:hover {
   color: #FF9900;
}

2:

Código: [Seleccione]
body {background: #fff; }
3:

MightyAdsense, etc... Google for it
Offline

Carlos Costa 
Membro
Mensagens 1464 Gostos 10
Troféus totais: 28
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1 1000 Posts

As opções dos códigos não encontro no editor no wordpress. Tenho que alterar no CPanel?
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

Temas > Editor > Escolher o ficheiro style.css
Offline

Dr_92 
Membro
Mensagens 263 Gostos 0
Troféus totais: 25
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1 100 Posts

1:

Código: [Seleccione]
a {
   text-decoration: none;
}
a:link {
   color: #666666;
}
a:visited {
   color: #666666;
}
a:active {
   color: #666666;
}
a:hover {
   color: #FF9900;
}

2:

Código: [Seleccione]
body {background: #fff; }
3:

MightyAdsense, etc... Google for it

Tens MP.
Offline

Carlos Costa 
Membro
Mensagens 1464 Gostos 10
Troféus totais: 28
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1 1000 Posts

Consegui por os links visitados da mesma cor dos por visitar. Mas o texto a negro desapareceu! Provavelmente coloquei a branco. Onde está no css e como o coloco a negro?

O fundo também ficou a branco, mas à volta do quadro ficou um cinzento. Como coloco esse cinzento, em branco?
Offline

Carlos Costa 
Membro
Mensagens 1464 Gostos 10
Troféus totais: 28
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1 1000 Posts

MightyAdsense, etc... Google for it

Já instalei o Mightyadsense. Onde coloco o meu código adsense nele?
Offline

evoliveira 
Membro
Mensagens 206 Gostos 0
Feedback +3

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

Tenho uma imagem que quero colocar no cabeçalho de um blog?

Como faço?


Obrigado
Offline

Celso Azevedo 
Membro
Mensagens 3500 Gostos 38
Feedback +12

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

Tenho uma imagem que quero colocar no cabeçalho de um blog?

Como faço?


Obrigado

Qual é o codigo do cabeçalho?
Offline

evoliveira 
Membro
Mensagens 206 Gostos 0
Feedback +3

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

Pois os meus conhecimentos nisso são muito reduzido (mesmo nulos  :-() O tema é este http://themes.internetwp.com/ e queria colocar a imagem (cabeçalho) entre a barra de procurar e a barra onde esta o banner 468X60.

Penso que o código o encontro no ficheiro php com nome header, será?


Obrigado
Offline

Celso Azevedo 
Membro
Mensagens 3500 Gostos 38
Feedback +12

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

não consigo ver o tema

coloca aqui o codigo da head.php
Offline

evoliveira 
Membro
Mensagens 206 Gostos 0
Feedback +3

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

Não há nenhum ficheiro head.php há sim header.php

que coloco aqui.

Código: [Seleccione]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>

<head profile="http://gmpg.org/xfn/11">



<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />



<title>

<?php bloginfo('name'); ?>

<?php if(is_home()) { ?>

 - <?php bloginfo('description'); ?>

<?php ?>

<?php if(is_single()) { ?>

<?php wp_title(); ?>

<?php ?>

<?php if(is_404()) { ?>

 - Page Not Found

<?php ?>

<?php if(is_search()) { ?>

 - Search Results for: <?php echo wp_specialchars($s1); ?>

<?php ?>

</title>

<table width="900" border="1" cellpadding="0">
  <tr>
    <img src="/blogtreta.png" />
  </tr>
</table>


<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />

<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />

<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />



<script src="<?php bloginfo('template_directory'); ?>/js/heightMatch.js" type="text/javascript"></script>

<script src="<?php bloginfo('template_directory'); ?>/js/topmenudynamic.js" type="text/javascript"></script>

<script src="<?php bloginfo('template_directory'); ?>/js/dropdown.js" type="text/javascript"></script>



<?php wp_head(); ?>



</head>

<body>



<div id="container">



<!-- page menu and search -->

<div id="top">



<ul id="pagemenu">

<?php wp_list_pages('sort_column=post_date&title_li='); ?>

</ul>



<div id="searchbar">

<form method="get" action="<?php bloginfo('url'); ?>/" class="searchform">

<fieldset>

<label class="searchlabel"><?php _e('Pesquisar no Blog'); ?></label>

<input type="text" value="<?php the_search_query(); ?>" name="s" class="searchterm" />

<input type="submit" value="Pesquisar" class="searchbutton" />

</fieldset>

</form>

</div>



<div class="clear"></div>

</div>

<!-- end -->



<div class="clear"></div>



<!-- header -->

<div id="header">



<div id="header_logo">

<h1 class="blogtitle"><a href="<?php bloginfo('home'); ?>/" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h1>

<div class="description"><?php bloginfo('description'); ?></div>

</div>



<div id="header_ad">

<?php include (TEMPLATEPATH "/468_60.php"); ?>

</div>



<div class="clear"></div>

</div>

<!-- end -->



<!-- category menu -->

<div id="bar">



<ul id="catmenu">

<li<?php if(!is_category() && !is_page()) { ?> class="current-cat"<?php ?>><a href="<?php bloginfo('home'); ?>/">Incio</a></li>

<?php wp_list_categories('hide_empty=0&title_li='); ?>

</ul>



<div id="toprss"><a href="<?php bloginfo('rss2_url'); ?>">SUBSCREVER O RSS FEED</a></div>



<div class="clear"></div>

</div>

<!-- end -->



<!-- blog information -->

<div id="bloginfo">

<div id="bloginfobox">



<ul>

<li class="posts"><h2>Últimos Posts</h2>

<ul>

<?php

global $opt;

$recentposts = new WP_query();

$recentposts->query('showposts='.$opt['posts'].'&orderby=date&order=DESC');

?>


<?php while ($recentposts->have_posts()) : $recentposts->the_post(); ?>

<li><div class="r_time"><?php the_time('d F Y'); ?></div><h1 class="r_head"><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1></li>

<?php endwhile; ?>

</ul>

</li>



<li class="comments"><h2>Últimos Comentários</h2><?php include (TEMPLATEPATH '/simple_recent_comments.php'); ?><?php if (function_exists('src_simple_recent_comments')) { src_simple_recent_comments($opt['comments'], $opt['c_excerpt'], ''''); } ?>

</li>



<li class="tags"><h2>Sopa de Tags</h2>

<ul>

<li><?php wp_tag_cloud('smallest=8&largest=18&number='.$opt['tags']); ?></li>

</ul>

</li>

</ul>



<div class="clear"></div>

</div>

<div class="clear"></div>

</div>

<!-- end -->
Offline

Celso Azevedo 
Membro
Mensagens 3500 Gostos 38
Feedback +12

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

Bem, eu não percebo muito disto, mas se alterares parte do codigo por esta, ficas com 1 logo onde aparece agora o nome do blog:

Código: [Seleccione]
<div id="header_logo">

<h1 class="blogtitle"><a href="http://www.site.com"><img src="http://site.com/logo.png" border="0"></a></h1>

<div class="description"></div>

</div>

Para colocares a imagem a funcionar, alteras o que esta a negrito:
<a href="http://www.site.com"><img src="http://site.com/logo.png" border="0"></a>

Se quiseres alterar a posição das coisas, aí ja deve de ser necessário mexer no css, mas isso já não sei fazer.
Offline

evoliveira 
Membro
Mensagens 206 Gostos 0
Feedback +3

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

Muito obrigado pela ajuda,

mas, assim como dizes altero a imagem que o tema tem predefinido, mas eu quero acrescentar um logo muito maior a ocupar toda a largura do site.

Se houver por aí alguém que me possa ajudar agradeço.
Offline

bfms 
Equipa
Mensagens 1769 Gostos 40
Feedback +1

Troféus totais: 35
Trófeus: (Ver todos)
Search Level 6 Apple User Super Combination Combination Topic Starter 50 Poll Votes 10 Poll Votes Poll Voter Poll Starter

evoliveira, o link que colocaste acima não corresponde ao que dizes... não tem nenhum banner 468x60.
Mete aqui o link do teu tema correcto para poder ajudar.

Cumps
Offline

evoliveira 
Membro
Mensagens 206 Gostos 0
Feedback +3

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

O tema vai ser este.

http://wpthemespt.com/uploads/2009/03/elegance.png

e quero meter um logo a ocupar a largura toda do site, com cerca de 200 px de altura, onde esta a barra vermelha desta imagem.

http://i50.photobucket.com/albums/f325/evoliveira/elegance.png

Obrigado