Hej
Jeg sidder med et tema problem (Pinboard) hvor jeg ikke kan få headeren til at makke ret.
Jeg ville gerne have Sidens Title, undertekster og logo samlet som et billed i stedet, men samtidigt på en måde, så det også ville fungere på mobil, tablet og pc.
I CSS delen står der p.t. :#header {
border-top:#111 3px solid;
background-color : #FFE381;
}
#site-title a,
#site-description {
color:#333;
}
#site-title,
#site-description {
margin:0;
font-weight:300;
float:left;
line-height:150px;
}
#site-title {
margin: 0 3.4%;
font-family:"Oswald", sans-serif;
font-size:32px;
font-weight:bold;
letter-spacing:1px;
}
#site-title img {
margin: 38px 0;
vertical-align:middle;
}
#site-description {
margin-left:20px;
font-size:16px;
font-weight:bold;
}
Og i selve headeren er kildekoden :
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo('charset'); ?>" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title><?php wp_title(); ?></title>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_head(); ?>
</head>
<body <?php body_class() ?>>
<div id="wrapper">
<header id="header">
<<?php pinboard_title_tag( 'site' ); ?> id="site-title">
<?php if ( ( '' != get_header_image() ) && ( false != get_header_image() ) ) : ?>
" rel="home">
<img src="<?php header_image(); ?>" alt="<?php bloginfo( 'name' ); ?>" width="<?php echo ( pinboard_get_option( 'retina_header' ) ? absint( get_custom_header()->width / 2 ) : get_custom_header()->width ); ?>" height="<?php echo ( pinboard_get_option( 'retina_header' ) ? absint( get_custom_header()->height / 2 ) : get_custom_header()->height ); ?>" />
<?php endif; ?>
" rel="home"><?php bloginfo( 'name' ); ?>
</<?php pinboard_title_tag( 'site' ); ?>>
<?php if( ! is_active_sidebar( 1 ) ) : ?>
<<?php pinboard_title_tag( 'desc' ); ?> id="site-description"><?php bloginfo( 'description' ); ?></<?php pinboard_title_tag( 'desc' ); ?>>
<?php endif; ?>
<?php get_sidebar( 'header' ); ?><b>
<font size="4" color="#FFFFFF"><i>-- for et duftfrit offentligt rum</i></b>
<div class="clear"></div>
<nav id="access">
Show Navigation
Hide Navigation
<?php wp_nav_menu( array( 'theme_location' => 'primary_nav' ) ); ?>
<div class="clear"></div>
</nav><!-- #access -->
</header><!-- #header -->
Jeg er løbet rimeligt sur i det så alle indspark og velmenende råd vil blive modtaget med stor tak !
not a support question