Alsooo ... der Stand der Dinge ist folgender: http://www.qwertzwerk.de/index.php
Kurz: Bodygrafik immer noch zu weit oben (bis unter den Header). Headergrafik stimmt sonst.
Ich habe jetzt auch die Anweisungen hier beachtet und einige Codezeilen ins CSS integriert. Ohne Veränderung. Die Linkleiste hab ich sogar erstmal weggelassen. Footer auch erstmal wurscht. Header.php hab ich nochmal nach Standardvorgaben überarbeitet. Was nun? Ratlosigkeit stellt sich ein.
Hier die aktuellen Codeabschnitte:
Header.php
PHP
<style type="text/css" media="screen">
/* body { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/Qbody.jpg"); no-repeat #fff; top center; } */
<?php /* Checks to see whether it needs a sidebar or not */ if ((! $withcomments) && (! is_single())) { ?>
#page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/Qbody.jpg") no-repeat top center; border: none; }
<?php } else { // No sidebar ?>
#page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/Qbody.jpg") no-repeat #fff; border: none; }
<?php } ?>
#header { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/Qheader.jpg") no-repeat bottom center; }
#footer { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickfooter2.jpg") no-repeat bottom; border: none;}
/* Because the template is slightly different, size-wise, with images, this needs to be set here
If you don't want to use the template's images, you can also delete the following two lines. */
/* #header { margin: 0 !important; margin: 0 0 0 1px; padding: 1px; height: 306px; width: 879px; }
#headerimg { margin: 0px 0px 0; height: 304px; width: 877px; } */
</style>
<?php wp_get_archives('type=monthly&format=link'); ?>
<?php wp_head(); ?>
</head>
<body>
<div id="page">
<div id="header">
<a href="<?php echo get_settings('home'); ?>">
<div id="headerimg">
<h1><?php bloginfo('name'); ?></h1>
<div class="description">
<?php bloginfo('description'); ?>
</div>
</div>
</a>
</div>
<hr />
Hier die Style.css:
/* Begin Structure */
body {
margin: 0 auto;
padding: 0;
height: 994px;
width: 879px;
}
#page {
/* background-color: white; */
background: url("<?php bloginfo('stylesheet_directory'); ?>/images/Qbody.jpg") no-repeat #fff; }
margin: 7px auto;
padding: 0;
width: 879px;
border: 0px solid #ffffff;
}
#header {
padding: 0;
margin: 0px;
height: 306px;
width: 100%;
background-color: #ffffff;
}
#headerimg {
background: url("<?php bloginfo('stylesheet_directory'); ?>/images/Qheader.jpg") no-repeat top center; }
margin: 0;
height: 304px;
width: 100%;
}
Alles anzeigen