Hallo, ich arbeite gerade an meinem ersten eigenen Wordpress Theme und bin soweit fast fertig.
Leider sind ein paar Probleme aufgetreten die ich nicht allein lösen kann. Daher bitte ich hier um Hilfe für folgendes:
1. Ich möchte eine Border und einen Schatten für mein Theme haben. leider gibt es einen Darstellungsfehler. Der Schatten und die Border werden nur im Headerbereich korrekt dargestellt, danach bricht es ab.
2. Ich möchte gerne das Impressem aus der Navigation entfernen. Ich weiß dass dies mit
geht, weiß jedoch nicht wo genau ich das eintragen muss. Ich habe dann eine doppelte Navigation.
Meine Navigation habe ich bisher mit diesem php Befehl aufgebaut:
3. Wenn man einen Kommentar schreiben will, dann erscheint im EMail Feld ein Bild, welches ich eigentlich nur in der Sidebar habe. Wie das da hinkommt ist mir völlig schleierhaft, ich habe nicht mal eine extra comments.php gemacht.
4. Wie kann ich einen Screenshot im Backend anzeigen. Ich habe schon eine Screenshot.png im "img" Ordner, aber im Backend sehe ich davon nix.
Die Seite um die es sich handelt befindet sich hier:
Mein CSS-Layout:
body{
background:#ABABAB;
font:14px Arial, helvetica, sans-serif;
}
#container{
width:960px;
margin:15px auto;
border:1px solid black;
-moz-box-shadow:1px 10px 10px 10px #888888;
}
#header{
background:#9B141B;
height:120px;
}
p.htitle{
font-size:34px;
width:730px;
left:20px;
font-weight:400;
line-height:38px;
font-family: Arial;
margin:0px;
padding: 30px 0 10px 20px;
text-shadow: 2px 2px 2px #000;
}
p.htitle a {
color: #FFFFFF;
}
p.tagline{
color:#FFFFFF;
font-weight:700;
padding:0 0 0 80px;
text-shadow:2px 2px 2px #000000;
}
#nav{
background:#9B141B;
border-top:4px solid #C81A1A;
border-bottom:1px solid black;
height:43px;
}
#nav li{
display:inline;
margin-left:26px;
}
#nav li a {
color:white;
}
#nav li a:hover{
border-bottom:3px solid white;
}
#nav li a:active{
border-bottom:3px solid white;
}
#content{
background:white;
width:960px;
float:left;
}
#post{
float:left;
width:550px;
padding:5px;
margin:15px;
border:1px solid #D7CAB5;
}
h1 a{
color:black
}
.meta{
color: #666666;
font-size: 11px;
height: 20px;
margin: 0;
padding: 5px 15px;
}
#sidebar{
float:right;
margin-right:5px;
margin-top:15px;
border:1px solid #D7CAB5;
padding:5px;
}
p.ptitle{
padding: 8px 0px 0px 20px;
}
#aff-top{
color: #FFF;
background: url(img/sidebar.png) no-repeat top left;
background-color: #9B141B;
border-bottom: solid 1px #D7CAB5;
height:33px;
}
#email{
color: #FFF;
background: url(img/sidebar.png) no-repeat top left;
background-color: #9B141B;
border-bottom: solid 1px #D7CAB5;
height:33px;
margin-top:10px;
}
#footer{
background:white;
float:left;
width:960px;
background-color: #9B141B;;
}
#footertext{
margin:0 0 0 860px;
}
#footer a:link, #footer a:visited, #footer a:hover, #footer a:active, #footer a:focus {
color:white;
}
a{
text-decoration:none;
}
Alles anzeigen
Besten Dank schonmal :)
EDIT: Also wenn ich float:left im footer entferne, dann sind border und schatten wieder da, allerdings habe ich dann eine graue leiste unter dem footer...:confused: