Hi,
ich baue gerade einen Blog für einen Freund und möchte eine .png Datei Logo in den Header dieses Themes einbauen. Es soll dort sein wo jetzt normal der Blogtext auftaucht.
In dem Theme gibt es zwar eine Art Vorrichtung für ein Logo, dieses läuft aber nicht wirklich.
Ich habe schon alles möglich probiert ( google hat mir auch nicht geholfen).
Eh ich mir jetzt den gesamten Blog zerschieße frage ich lieber hier was ich genau in der Header.php und in der style.cc anpassen muss.
Code schaut folgendermaßen aus.
Header:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php if (is_home () ) { bloginfo('name'); echo " - "; bloginfo('description');
} else { wp_title('',true); echo " - "; bloginfo('name'); }?></title>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<!-- Additional IE/Win specific style sheet (Conditional Comments) -->
<!--[if lte IE 7]>
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/styleie.css" type="text/css" media="projection, screen">
<![endif]-->
<?php wp_head(); ?>
<!-- this product is released under General Public License: http://www.opensource.org/licenses/gpl-license.php -->
</head>
<body>
<div id="wrap">
<div class="header">
<div class="titles">
<h1><a href="<?php bloginfo('url'); ?>" title="<?php bloginfo(''); ?>"><?php bloginfo(''); ?></a></h1>
<p>
</div>
<div class="searchbar">
<span>Suche</span> <form method="get" id="searchtop" action="<?php bloginfo('home'); ?>/"><input name="s" type="text" id="s" onfocus="if (this.value == 'to search, type and hit enter') {this.value = '';}" onblur="if (this.value == '') {this.value = '';}" value="" size="28" /></form>
<div class="clear"></div>
</div>
<div class="clear"></div>
</div>
<div class="menu">
<ul>
<li class="page_item<?php if (is_home() || is_single()) {echo ' current_page_item';} ?>"><a href="<?php bloginfo('url'); ?>">PPC-NEWS</a></li>
<?php wp_list_pages('sort_column=menu_order&title_li=&depth=1'); ?>
<div style="clear:both;"></div>
</ul>
</div>
<br/>
<div id="content">
Style.css (auszug)
#wrap { width: 900px; text-align: left; margin: 0 auto;}
.titles { float: left; width: 550px; margin-top: 50px;}
.header { height: 160px; }
.header h1 a { display: inline; width: 420px; height: 60px; font: normal 35px 'Arial', 'Trebuchet MS', 'Verdana', sans-serif; text-transform: uppercase; letter-spacing: 1px; text-indent: -9999px; background: url(images/logtitle.jpg) no-repeat top left; }
.header h1 a { color: #fff; text-decoration: none; }
.header p { font-size: 12px; font-family: 'Trebuchet Ms', 'Arial', 'Verdana', sans-serif; text-transform: uppercase; width: 450px; height: 50px; line-height: 15px; color: #C6EBFF; margin: 5px; padding: 0px;}