Hi
Ich möchte den Header in meinem Theme ändern. Nun habe ich jedoch keine Ahnung wie..
Im oberen Teil wird jetzt immer das erste Bild wiederholt. Nun möchte ich aber, dass das zweite auf die gesamte Breite angezeigt wird. Wie schaffe ich das? Was muss ich in der Style.css ändern?
PHP
/*
Theme Name: deStyle
Theme URI: http://demo.themeshift.com/destyle
Description: Blog Magazine WordPress Theme
Version: 0.9
Author: Simon Rimkus [ThemeShift]
Author URI: http://themeshift.com
Tags: blog, magazine, light, fresh
*/
/*
- GENERAL
- HTML ELEMENTS
- BASIC LAYOUT
- HEADER
- MENU
- CONTENT
- PREDEFINED CLASSES
- SIDEBAR
- FORMS
- COMMENTS
- PAGING
- FLICKR BADGE
- CLEARING
- WORDPRESS CSS
- WIDGET CSS
*/
/* ##################################
GENERAL
################################## */
body {
margin: 0px;
padding: 0px;
background: #000000 url(img/bg-body.jpg) repeat-x left top;
color: #4a4a4a;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 11px;
}
/* ##################################
HTML ELEMENTS
################################## */
a {
color: #7a3737;
}
img {
border: none;
}
p, ul, ol, dl {
line-height: 22px;
margin: 0 0 20px 0;
}
hr {
height: 1px;
margin: 20px 0;
background: #eeeee9;
border: none;
clear: both;
}
h1, h2, h3, h4, h5, h6 {
margin: 0 0 20px;
padding: 0px;
line-height: normal;
}
h1 {
font-size: 24px;
}
h2 {
font-size: 20px;
}
h3 {
font-size: 16px;
}
h4, h5, h6 {
margin-bottom: 10px;
}
blockquote {
margin: 0 0 0 10px;
padding: 0 0 0 50px;
background: transparent url(img/bg-blockquote.png) no-repeat left top;
font-style: italic;
}
address {
padding: 0 0 0 15px;
font-style: italic;
}
pre {
display: block;
margin: 0 0 20px 0;
padding: 10px;
background: #eeeee9;
border: 1px solid #ccc;
font-family: "Courier New", Courier, serif;
overflow: auto;
}
code {
font-family: "Courier New", Courier, serif;
}
dt {
font-weight: bold;
}
table {
margin: 0 0 20px;
border-collapse: collapse;
}
th {
padding: 5px;
background: #eeeee9;
border: 1px solid #ddd;
text-align: left;
}
td {
padding: 5px;
border: 1px solid #ddd;
}
/* ##################################
BASIC LAYOUT
################################## */
#main {
width: 980px;
margin: 0 auto;
background: transparent url(img/bg-page.jpg) no-repeat 0px 40px;
}
#header {
position: relative;
width: 960px;
height: 140px;
margin: 0 auto;
}
#content-wrap {
padding: 20px 0 0;
background: transparent url(img/bg-content-wrap.png) repeat-y left top;
z-index: 1;
}
#content-top {
height: 20px;
background: transparent url(img/bg-content-top.png) no-repeat left bottom;
z-index: 2;
}
#content {
margin: 0 40px;
background: transparent url(img/bg-content.gif) repeat-y 600px 0px;
z-index: 3;
}
#footer {
position: relative;
padding: 0 0 30px 0;
line-height: 22px;
text-align: center;
}
/* ##################################
HEADER
################################## */
#page-menu {
position: absolute;
top: 0px;
left: 0px;
height: 40px;
line-height: 40px;
margin: 0px;
padding: 0px;
list-style: none;
}
#page-menu li {
float: left;
width: auto;
}
#page-menu a {
margin: 0 20px 0 0;
background: transparent;
color: #fff;
text-decoration: none;
}
#page-menu a:hover,
#page-menu .current_page_item a {
color: #f4dec7;
}
#rss {
position: absolute;
top: 0px;
right: 0px;
height: 40px;
margin: 0px;
padding: 0 30px 0 0;
line-height: normal;
background: transparent url(img/bg-rss.png) no-repeat right center;
color: #fff;
}
#rss a {
line-height: 40px;
background: transparent;
color: #fff;
border-bottom: 1px dotted #fff;
text-decoration: none;
}
h1#blog-title {
position: absolute;
bottom: 40px;
left: -10px;
margin: 0px;
padding: 0px;
color: #f4dec7;
font-size: 12px;
font-weight: normal;
}
h1#blog-title img {
margin: 0 0 -10px;
}
/* ##################################
MENU
################################## */
/** /lib/superfish/superfish.css */
/* ##################################
CONTENT
################################## */
#page-full #content {
background: #fff;
}
#content-bottom {
height: 20px;
background: transparent url(img/bg-content-bottom.png) repeat-y left top;
}
#content-left {
display: inline;
float: left;
width: 570px;
}
#content-right {
float: right;
width: 300px;
}
.box-left {
margin: 0 0 30px;
padding: 0 0 10px;
line-height: 22px;
border-bottom: 1px solid #eeeee9;
}
.box-right {
margin: 0 0 30px 30px;
padding: 0 0 10px;
border-bottom: 1px solid #eeeee9;
}
.box-full {
margin: 0px;
padding: 0 0 1px;
line-height: 22px;
}
#content ul, #content ol {
margin: 0 0 20px;
padding: 0 0 0 20px;
}
#content li {
padding: 2px 0;
list-style: disc;
}
#content ol li {
list-style: decimal;
}
#content li ul, #content li ol {
margin: -2px 0 -2px 20px;
padding: 0px;
}
#content li li {
list-style: circle;
background: none;
}
#content ol li li {
list-style: upper-roman;
}
#content li li li {
list-style: square;
}
#content ol li li li {
list-style: lower-latin;
}
h1.category-title {
margin: 0 0 30px;
padding: 0 0 10px;
color: #7a3737;
border-bottom: 1px solid #eeeee9;
}
.article-left {
position: relative;
float: left;
width: 220px;
margin: 0 0 20px 0;
z-index: 4;
}
.sticky-post {
position: absolute;
top: -10px;
left: -10px;
z-index: 100;
}
.article-right {
float: right;
width: 350px;
}
img.article-img {
padding: 10px;
background: #eeeee9;
}
img.article-img-single,
.box-author img.avatar {
float: left;
margin: 0 20px 20px 0;
padding: 10px;
background: #eeeee9;
}
a:hover img.article-img {
background: #deded9;
}
.img-caption {
padding: 0 10px;
height: 30px;
line-height: 30px;
background: transparent url(img/bg-img-caption.png) no-repeat left top;
color: #fff;
font-weight: bold;
}
.img-caption a {
background: transparent;
color: #fff;
text-decoration: none;
}
img.shadow {
background: transparent url(img/shadow.gif) no-repeat right bottom;
padding: 5px 10px 10px 5px;
}
Alles anzeigen