Hallo,
ich möchte das Theme durch mein eigenes Menü abändern, nur finde ich in der Header.php nichts, was für mich darauf hin deutet. oder wo muss ich sonst suchen?
PHP
<!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="X-UA-Compatible" content="IE=EmulateIE7" />
<meta name="DC.creator" content="dwt" />
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset') ?>" />
<title><?php echo art_get_page_title() ?></title>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url') ?>" type="text/css" media="screen" />
<!--[if IE 6]><link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style.ie6.css" type="text/css" media="screen" /><![endif]-->
<!--[if IE 7]><link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style.ie7.css" type="text/css" media="screen" /><![endif]-->
<?php if(WP_VERSION < 3.0): ?>
<link rel="alternate" type="application/rss+xml" title="<?php printf(__('%s RSS Feed', 'kubrick'), get_bloginfo('name')); ?>" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="<?php printf(__('%s Atom Feed', 'kubrick'), get_bloginfo('name')); ?>" href="<?php bloginfo('atom_url'); ?>" />
<?php endif; ?>
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php if (is_file(TEMPLATEPATH .'/favicon.ico')):?>
<link rel="shortcut icon" href="<?php bloginfo('template_directory'); ?>/favicon.ico" />
<?php endif; ?>
<?php wp_head(); ?>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/script.js"></script>
</head>
<body>
<?php
ob_start();
Alles anzeigen
CSS:
CSS
/*Theme Name: Businesstheme Orange
Theme URI: http://www.wordpressthemes.es/
Description: A 3 column Business Theme in orange, grey and white colors and with one widgetready sidebar on each side.
Version: 1.0
Author: wordpressthemes.es
Author URI: http://www.wordpressthemes.es/
Tags: fixed width, three columns, valid XHTML, widgets
*/
/* begin Page */
body, p
{
margin: 0.5em 0;
font-family: Arial, Helvetica, Sans-Serif;
font-style: normal;
font-weight: normal;
font-size: 13px;
text-align: justify;
}
body
{
margin: 0 auto;
padding: 0;
color: #242929;
background-color: #B4BEBE;
background-image: url('images/page_t.jpg');
background-repeat: repeat;
background-attachment: scroll;
background-position: top left;
}
h1.art-logo-name, h1.art-logo-name a, h1.art-logo-name a:link, h1.art-logo-name a:visited, h1.art-logo-name a:hover
{
font-style: normal;
font-variant: small-caps;
font-weight: bold;
font-size: 31px;
text-decoration: none;
padding: 0;
margin: 0;
color: #382C19 !important;
}
color: #C0C8C8;
text-align: center;
}
.art-content-layout .art-content-sidebar1
{
width: 80%;
}
.art-content-layout .art-content-sidebar2
{
width: 80%;
}
.art-content-layout .art-content-wide
{
width: 100%;
}
/* end LayoutCell, content */
/* begin LayoutCell, sidebar2 */
.art-content-layout .art-sidebar2
{
width: 20%;
}
/* end LayoutCell, sidebar2 */
textarea#comment{width:100%;
.commentlist, .commentlist li
background: none;
}
.commentlist li li
{
margin-left: 30px;
}
.commentlist li .avatar
{
float: right;
border: 1px solid #eee;
padding: 2px;
margin: 1px;
background: #fff;
}
.commentlist li cite
{
font-size: 1.2em;
}
#commentform textarea
{
width: 100%;
}
img.wp-smiley
{
border: none;
margin: 0;
padding: 0;
}
.navigation
{
display: block;
text-align: center;
}
/* Recommended by http://codex.wordpress.org/CSS */
/* Begin */
.aligncenter, div.aligncenter, .art-article .aligncenter img, .aligncenter img.art-article, .aligncenter img, img.aligncenter
{
display: block;
margin-left: auto;
margin-right: auto;
}
.alignleft
{
float: left;
}
.alignright
{
float: right;
}
.alignright img, img.alignright
{
margin: 1em;
margin-right: 0;
}
.alignleft img, img.alignleft
{
margin: 1em;
margin-left: 0;
}
.wp-caption
{
border: 1px solid #ddd;
background-color: #f3f3f3;
padding-top: 4px;
margin: 10px;
}
.wp-caption img
{
margin: 0;
padding: 0;
border: 0 none;
}
.wp-caption p.wp-caption-text
{
font-size: 11px;
line-height: 17px;
padding: 0 4px 5px;
margin: 0;
}
.wp-caption, .wp-caption p
{
text-align: center;
}
/* End */
.hidden
{
display: none;
}
/* Calendar */
#wp-calendar {
empty-cells: show;
margin: 10px auto 0;
width: 155px;
}
#wp-calendar #next a {
padding-right: 10px;
text-align: right;
}
#wp-calendar #prev a {
padding-left: 10px;
text-align: left;
}
#wp-calendar a {
display: block;
}
#wp-calendar caption {
text-align: center;
width: 100%;
}
#wp-calendar td {
padding: 3px 0;
text-align: center;
}
.gallery {
letter-spacing: normal;
}
.art-content {
position: relative;
z-index: 1;
}
#todays-events{
position: relative;
z-index: 11;
}
#upcoming-events{
position: relative;
z-index: 10;
}
img.wp-post-image
{
margin:0 5px 5px 0 !important;
}
div.art-footer li, ul.commentlist li
{
list-style-image: none;
background:none;
list-style-type:none;
}
div.art-footer div.art-content-layout
{
margin:0 auto;
width:95%;
}
div.art-layout-cell-size1
{
width:100%;
}
div.art-layout-cell-size2
{
width:50%;
}
div.art-layout-cell-size3
{
width:33%;
}
div.art-layout-cell-size4
{
width:25%;
}
/* ================================================================
This copyright notice must be untouched at all times.
The original version of this stylesheet and the associated (x)html
is available at http://www.cssmenus.co.uk
Copyright (c) 2009- Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any
way to fit your requirements.
=================================================================== */
#menuPositioner {width:100%; position:relative; float:left; top:-30px; margin-bottom:-35px; }
#menuHolder {position:relative; float:left; left:50%;}
#menu,
#menu ul {padding:0; margin:0; list-style:none; font: 12px arial, verdana, sans-serif; background:url(trans.gif); position:relative; z-index:100;}
#menu {height:35px; float:left; padding:0; background:#9f410d; position:relative; right:50%;}
#menu ul {position:absolute; left:-9999px; top:-9999px;}
#menu table {border-collapse:collapse; margin:-1px; padding:0; width:0; height:0;}
#menu li {float:left;}
#menu li a {display:block; float:left; color:#fff; height:40px; padding:0 20px 0 0; line-height:38px; text-decoration:none; background:url(button1a.gif) no-repeat right top;}
#menu li a.sub {background:url(button3a.gif) no-repeat right top;}
#menu li a b {display:block; float:left; height:40px; background:url(button1.gif) left top; padding:0 0 0 20px; cursor:pointer;}
#menu li:hover {position:relative; z-index:100;}
#menu a:hover {position:relative; z-index:100; color:#fc0;}
#menu a.sub:hover {background:url(button3.gif) no-repeat right top;}
#menu li:hover > a {color:#fc0;}
#menu li:hover > a.sub {background:url(button3.gif) no-repeat right top;}
#menu :hover ul {left:0; top:35px; z-index:300; width:130px; padding-top:0px; background:url(trans.gif);}
#menu :hover ul li a {height:30px; width:120px; padding:0 0 0 10px; line-height:30px; background:#D57441; color:#fff; border-bottom:0px solid #a3b6c4; font-size:12px;}
#menu :hover ul li a.fly {background:#D57441 url(fly.gif) no-repeat right center;}
#menu :hover ul li a:hover {color:#fc0;}
#menu :hover ul li a:hover.fly {background:#D57441 url(fly-over.gif) no-repeat right center;}
#menu :hover ul li:hover > a {color:#fc0;}
#menu :hover ul li:hover > a.fly {background:#D57441 url(fly-over.gif) no-repeat right center;}
#menu :hover ul ul {position:absolute; left:-9999px; top:-9999px;}
#menu :hover ul :hover ul {left:117px; top:0; padding:0;}
#menu :hover ul :hover ul li a {background:#81937D; color:#000; border-bottom:1px solid #D57441; font-size:12px;}
#menu :hover ul :hover ul li a:hover {color:#fff;}
#box_gr {
font-size:80%;
float:left;
width:321px;
height: 300px;
margin-left:1px;
border: 0;/* 1px solid #8b4513; */
background: #BFEFFF; /* #E1EBF5; */
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
margin-right: 15px;
margin-top: 25px;
}
#box_kl {
font-size:80%;
float:right;
width:321px;
height: 300px;
margin-left:2px;
border: 0;/* 1px solid #8b4513; */
background: #BFEFFF; /* #E1EBF5; */
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
margin-top: 25px;
padding-left: 5px;
]
Alles anzeigen
Die letzten beiden Abschnitte sind zum einen Teil die NAV-Leiste und zusätzliche Boxen. (Haben aber damit nichts zu tun) Mitelteil der CSS gekürzt, da zu lange.
Ein Tipp?
Danke
zu finden: http://www.fraunz.at