
Originariamente inviata da
partime
Noto che nel frattempo ti sei mangiato anche dei tag...

Hai ragione, ma quello è perchè il seo mi ha detto che non andavano bene e li ha eliminati. Forse era il ; che li rendeva indigesti.
Comunque, dopo aver fatto prove su prove sono giunto a questo header che dà il risultato che voglio.
Header.php
codice:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="it" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<title><?php wp_title(''); ?></title>
<meta name="description" content="This is a site with bridge champion plays, Compare bridge holidays">
<meta name="msvalidate.01" content="3AA30167F676B0291E61587B809B04FD" />
<meta property="fb:admins" content="Vincenzo Serino"/>
<script src="/js/jquery.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
</head>
<body <?php body_class(); ?>>
<div id="container">
<?php if( is_home () || is_front_page() ) :?>
<header id="masthead" class="site-header">
<h1 class="site-title"><?php bloginfo( 'name' ); ?></h1>
<h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
<table id=pubblicitablack>
...vi risparmio la pubblicità e googleanalytics.
Il css che fa riferimento è questo:
codice:
.site-header {
background: url("http://www.laugher.it/wp-content/themes/twentythirteen/images/headers/circle.png")
no-repeat scroll center top / 1600px auto transparent;
position: relative;
}
#container {
/*float: center;*/
width: 590px;
margin-left: 165px;
position: relative;
}
#pubblicitablack {
width:589px;
height:88px;
margin-left: 590px;
margin-top: -109px;
border: 1px solid;
position: relative;
}
Va bene? E' migliorabile? C'è qualcosa che dovrebbe andarci e non ho messo?
P.s.: si lo so che potrei togliere la tabella ma mi serve come riferimento. Magari lo faccio in un secondo momento.