hallo benutze das Theme XClusive. Nun wird im Header bereits schön mein Seitentitle + Description angezeigt. Ich hätte nun gerne noch mein Logo davor angezeigt. Habe schon einiges probiert neue css classe mit dem #header_logo und diese dann in der header.php als div id eingefügt, nur wird dann alles durcheinander gehauen. Könnt ihr mir helfen?
layout.css:
Code
#header {
-moz-box-shadow: 0 2px 4px rgba(90,90,90,.2);
-ms-box-shadow: 0 2px 4px rgba(90,90,90,.2);
-o-box-shadow: 0 2px 4px rgba(90,90,90,.2);
-webkit-box-shadow: 0 2px 4px rgba(90,90,90,.2);
box-shadow: 0 2px 4px rgba(90,90,90,.2);
position:relative;
z-index:100;
}
#headimg {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
clear:both;
height:auto;
max-width:100%;
min-height:298px;
padding: 0;
position:relative;
width:960px;
}
#site-title {
font-size:3.05em;
margin-bottom:0;
text-transform:uppercase;
}
#site-title a {
font-family: Times, serif;
word-wrap:normal;
}
#site-title img {
margin-bottom:5px;
}
#site-description {
font-size:.9em;
line-height:120%;
letter-spacing:.15em;
margin-bottom:0;
width:100%;
}
.site-logo {
height:auto;
max-width:98%;
}
.no-header-text #site-description,
.no-header-text.no-logo #site-title {
position:absolute;
clip:rect(1px, 1px, 1px, 1px);
}
Alles anzeigen
header.php:
PHP
<body <?php body_class(); ?>>
<?php xclusive_before_page(); ?>
<div id="page" class="hfeed">
<?php xclusive_before_header(); ?>
<header id="header" role="banner">
<div class="hgroup">
<h3 id="site-title"><span><?php echo xclusive_get_site_branding() ?></span></h3><!--#site-title-->
<h4 id="site-description"><?php bloginfo( 'description' ); ?></h4>
</div><!--.hgroup-->
Alles anzeigen