langsam glaube ich nicht mehr dran, dass meine webseite im index aufgenommen wird ist schon über 3 wochen her, so lange hat es noch nie gedauert... Pilledanach///org
habe bei dem projekt damals im header einer der "home" tags entfernt, damit sie nicht mehr oben links in der navigation steht. Außerdem habe ich die größe von ein paar designelementen auf size: 0 gestellt. Mag google sowas nicht? Mal die codes vom header und der .style css
es handelt sich um das multiflex 3 theme.
der header:
ZitatAlles anzeigen<!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" xml:lang="en">
<head><meta http-equiv="content-type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<meta name="generator" content="wordpress <?php bloginfo('version'); ?>" />
<meta name="description" content=" " />
<meta name="keywords" content=" " />
<meta name="author" content=" " />
<meta name="google-site-verification" content="xxxxxxxxxxxxxxxxxxxxxxxxxxx" />
<?php
if(is_home())
{
echo'<title>';
bloginfo('name');
echo ' - ';
bloginfo('description');
echo'</title>';
}else
{
echo'<title>';
wp_title('');
echo ' - ';
bloginfo('name');
echo ' - ';
bloginfo('description');
echo '</title>';
}
?>
<?php if( is_page('impressum') ) { echo "<meta name=\"robots\" content=\"noindex\" />"; } ?>
<?php if( is_page('nutzungsbedingungen') ) { echo "<meta name=\"robots\" content=\"noindex\" />"; } ?><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'); ?>" /><?php wp_head(); ?>
</head>
<body>
<div id="wrap">
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(__('header','wp_multiflex')) ) : Else : ?>
<div id="masthead">
<div class="left-masthead">
<a class="site-logo" href="<?php echo get_settings('home'); ?>"></a>
<h1><a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a></h1>
<p class="description"><?php bloginfo('description'); ?></p>
</div>
<div class="right-masthead">
<a class="rss-logo" href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('rss feed','wp_multiflex'); ?>"></a>
</div>
</div>
<div id="header">
<div id="textbox">
<?php include (templatepath . '/header-text.php'); ?>
</div>
</div><?php if (is_page()) { $highlight = "page_item"; } else {$highlight = "page_item current_page_item"; } ?>
<div id="navigation">
<ul>
<?php wp_list_pages('sort_column=menu_order&depth=1&title_li=' ); ?>
</ul>
</div><?php endif; ?>
<div id="crumb-search">
<div id="breadcrumb">
<?php if (function_exists('breadcrumb')) breadcrumb("link_all=true&home_always=true&sep="); ?>
</div>
<div id="searchbar">
<?php include (templatepath . '/searchform.php'); ?>
</div>
</div><div id="container">
[/quote]/*
STYLE.css
ZitatAlles anzeigen*/
/* various elements */
body {
background-color: #7c90c5;
margin: 10px 0;
font: 60% verdana, geneva, arial, helvetica, sans-serif;
color: #9e9e9e;
}div {
margin: 0;
padding: 0;
}p {
font-size: 1.1em;
}a {
color: #9e9e9e;
font-weight: Bold;
}a:hover {
color: #e64c78;
}code {
font-size: 1.1em;
display: Block;
font-family: "courier new", courier, monospace;
background-color: #000000;
padding: 5px;
margin: 10px;
border: 1px solid #959595;
}blockquote {
background: Url(images/quote.gif) left no-repeat;
margin: 0;
padding: 0 40px 0 40px;
text-align: Justify;
font-size: 0.9em;
}/* main wrapper */
#wrap {
background: Url(images/bg_main_withnav.jpg) repeat-y top left;
width: 900px;
margin: 0 auto;
border: 2px solid #000000;
}/* masthead --- top of header */
#masthead {
background: Url(images/bg_head_top.png) no-repeat top left;
height: 224px;
margin: 0;
padding: 0;
font-family:"trebuchet ms",arial,sans-serif;
}/* site name, description and logo */
#masthead div.left-masthead {
float: Left;
width: 820px;
height: 81px;
}#masthead a.site-logo {
float: Left;
background: Url(images/bg_head_top_logo.jpg);
height: 40px;
width: 60px;
margin: 22px 5px 20px 20px;
}#masthead h1 {
text-transform: Uppercase;
padding: 19px 0 0 0;
margin: 0;
font-size: 2.2em;
font-weight: Bold;
}#masthead h1 a {
color: #ffffff;
text-decoration: None;
}#masthead h1 a:hover {
color: #ffffff;
}#masthead p.description {
margin: -5px 0 0 0;
padding: 0;
font-weight: Bold;
color: #ffffff;
}/* left hand side of masthead */
#masthead div.right-masthead {
float: Right;
margin: 0;
padding: 0;
}#masthead div.right-masthead a.rss-logo {
background: Url(images/rss.jpg);
height: 64px;
width: 64px;
margin: 9px 9px 0 0;
display: Block;
}#masthead div.right-masthead a.rss-logo:hover {
background: Url(images/rss-hover.jpg);
}/* middle header image and text */
#header {
background: Url(images/bg_head_middle.jpg) no-repeat top left;
height: 0px;
margin: 0;
padding: 0;
color: #9e9e9e;
}#header #textbox {
float: Right;
width: 900px;
text-align: Right;
font-weight: Bold;
}#header a {
color: #9e9e9e;
text-decoration: None;
}#header a:hover {
color: #9e9e9e;
}#header h2 {
font-family:"trebuchet ms",arial,sans-serif;
padding: 20px 20px 5px 10px;
margin: 0;
font-size: 2em;
}#header p {
font-family:"trebuchet ms",arial,sans-serif;
margin: 0;
padding: 0 20px 5px 20px;
font-size: 1.3em;
font-weight: Bold;
line-height: 18px;
}/* horizontal navigation menu */
#navigation {
clear: Both;
background: Url(images/bg_head_bottom_nav.jpg) no-repeat top left;
height: 0px;
}#navigation ul {
margin: 0;
padding: 0;
}#navigation li {
margin: 0px;
height: 0px;
float: Left;
list-style: None;
border-right: None;
}#navigation li a {
font-family:"trebuchet ms",arial,sans-serif;
display: Block;
padding: 11px 14px 11px 14px;
color: #9e9e9e;
font-weight: Bold;
font-size: 1.105em;
text-decoration: None;
}#navigation li a:hover {
background-color: None;
color: #e64c78;
}/* breadcrumbs and search bar */
#crumb-search {
background: Url(images/bg_head_breadcrumbs.jpg) top left repeat-y;
height: 40px;
margin: 0;
padding: 0;
}/* breadcrumbs */
#breadcrumb {
float: Left;
padding: 0 0 0 15px;
margin: 10px 0 0 0;
color: #9e9e9e;
font-weight: Bold;
font-size: 0.9em;
width:700px;
}#breadcrumb a {
background: Url(images/bg_bullet_arrow.jpg) left no-repeat;
padding: 0 2px 0 10px;
text-decoration: None;
color: #9e9e9e;
}#breadcrumb a:hover {
color: #9e9e9e;
text-decoration: Underline;
}/* search form */
#searchbar {
float: Right;
margin: 0;
padding: 0;
}#searchbar fieldset {
border: None;
margin: 0;
padding: 0;
}#searchform {
padding: 10px 15px 0 0;
color: #000;
}#searchbox {
border: 2px solid #000000;
height: 17px;
width: 121px;
background-color: #f34d7d;
color: #ffffff;
}#searchbutton {
background-color: #ffffff;
border: 2px solid #000000;
color: #000000;
padding:0;
font-size: 1.2em;
height: 23px;
width: 47px;
text-align: Center;
cursor: Pointer;
}#searchbutton:hover {
background-color: #ffffff;
color: #000000;
border: 2px solid #000000;
}/* container wrappers */
#container {
clear: Both;
margin: 0;
padding: 0;
}#left-wrap {
width: 690px;
float: Left;
margin: 0;
padding: 0;
}
------