Okay, i style.css er der kun dette om header-delen:
/* =Header
-------------------------------------------------------------- */
#logo {
float: left;
margin: 0;
}
.site-name {
display: block;
font-size: 2em;
padding-top: 20px;
}
.site-name a {
font-weight: 700;
}
.site-description {
display: block;
font-size: 14px;
margin: 10px 33px 10px 0;
}
Jeg er ikke css-freak, men det var, hvad jeg umiddelbart kunne se mig ud af. header.php ser således ud:
<body <?php body_class(); ?>>
<?php responsive_container(); // before container hook ?>
<div id="container" class="hfeed">
<?php responsive_header(); // before header hook ?>
<div id="header">
<?php if (has_nav_menu('top-menu', 'responsive')) { ?>
<?php wp_nav_menu(array(
'container' => '',
'fallback_cb' => false,
'menu_class' => 'top-menu',
'theme_location' => 'top-menu')
);
?>
<?php } ?>
<?php responsive_in_header(); // header hook ?>
<?php if ( get_header_image() != '' ) : ?>
<div id="logo">
"><img src="<?php header_image(); ?>" width="<?php if(function_exists('get_custom_header')) { echo get_custom_header() -> width;} else { echo HEADER_IMAGE_WIDTH;} ?>" height="<?php if(function_exists('get_custom_header')) { echo get_custom_header() -> height;} else { echo HEADER_IMAGE_HEIGHT;} ?>" alt="<?php bloginfo('name'); ?>" />
</div><!-- end of #logo -->
<?php endif; // header image was removed ?>
<?php if ( !get_header_image() ) : ?>
<div id="logo">
<span class="site-name">" title="<?php echo esc_attr(get_bloginfo('name', 'display')); ?>" rel="home"><?php bloginfo('name'); ?></span>
<span class="site-description"><?php bloginfo('description'); ?></span>
</div><!-- end of #logo -->
<?php endif; // header image was removed (again) ?>
<?php get_sidebar('top'); ?>
<?php wp_nav_menu(array(
'container' => '',
'theme_location' => 'header-menu')
);
?>
<?php if (has_nav_menu('sub-header-menu', 'responsive')) { ?>
<?php wp_nav_menu(array(
'container' => '',
'menu_class' => 'sub-header-menu',
'theme_location' => 'sub-header-menu')
);
?>
<?php } ?>
</div><!-- end of #header -->
<?php responsive_header_end(); // after header hook ?>
<?php responsive_wrapper(); // before wrapper ?>
<div id="wrapper" class="clearfix">
<?php responsive_in_wrapper(); // wrapper hook ?>
Hvor skal jeg ændre noget? Kan nogle hjælpe? Vil være meget taknemmelig!