Hallo zusammen,
ich habe ein Problem mit meinem Wordpress Blog. Der content ist breiter als der Header bzw. der Rahmen. (siehe angehängte Grafik).
Wie kann ich dies denn ändern?
Danke und Gruß
Herbert
Um schreiben oder kommentieren zu können, benötigen Sie ein Benutzerkonto.
Sie haben schon ein Benutzerkonto? Melden Sie sich hier an.
Jetzt anmeldenHier können Sie ein neues Benutzerkonto erstellen.
Neues Benutzerkonto erstellenHallo zusammen,
ich habe ein Problem mit meinem Wordpress Blog. Der content ist breiter als der Header bzw. der Rahmen. (siehe angehängte Grafik).
Wie kann ich dies denn ändern?
Danke und Gruß
Herbert
Hallo!
Wenn du gerade an deiner Website arbeitest oder dein aktuelles Hosting überdenkst: Wir betreiben mit NetzLiving eine Hosting-Plattform, die speziell auf Performance, Sicherheit und einfache Verwaltung ausgelegt ist.
Header breiter machen oder content verkleinern, das ist das einzige was meine Glaskugel ausgespuckt hat
Header breiter machen oder content verkleinern, das ist das einzige was meine Glaskugel ausgespuckt hat
Würde gerne den content verkleinern. Aber wo muss ich das machen? :confused:
Danke!!
Herbert
Die Glaskugel sagt: in der style.css deines Themes, oder in der header.php
Die Glaskugel sagt: in der style.css deines Themes, oder in der header.php
Ich habe das Standard Kubrick theme. Denke ich müsste die Breite in der css Datei ändern, da ich ja den content kleiner machen möchte.
Nur wo in der css Datei kann ich die contentbreite bestimmen?
Danke und Gruß
Herbert
so, jetzt auch die css Datei dazu.
....loading....
body {
-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-origin:padding;
background:#D5D6D7 url(images/kubrickbgcolor.jpg) repeat scroll 0 0;
color:#333333;
font-family:'Lucida Grande',Verdana,Arial,Sans-Serif;
font-size:62.5%;
text-align:center;
}
#page {
background-color:white;
border:1px solid #959596;
text-align:left;
}
#header {
-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-origin:padding;
background:#73A0C5 url(images/kubrickheader.jpg) no-repeat scroll center bottom;
}
#headerimg {
height:192px;
margin:7px 9px 0;
width:740px;
}
#content {
font-size:1.2em;
}
.widecolumn .entry p {
font-size:1.05em;
}
.narrowcolumn .entry, .widecolumn .entry {
line-height:1.4em;
}
.widecolumn {
line-height:1.6em;
}
.narrowcolumn .postmetadata {
text-align:center;
}
.thread-alt {
background-color:#F8F8F8;
}
.thread-even {
background-color:white;
}
.depth-1 {
border:1px solid #DDDDDD;
}
.even, .alt {
border-left:1px solid #DDDDDD;
}
#footer {
-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-origin:padding;
background:#E7E7E7 url(images/kubrickfooter.jpg) no-repeat scroll center top;
border:medium none;
}
small {
font-family:Arial,Helvetica,Sans-Serif;
font-size:0.9em;
line-height:1.5em;
}
h1, h2, h3 {
font-family:'Trebuchet MS','Lucida Grande',Verdana,Arial,Sans-Serif;
font-weight:bold;
}
h1 {
font-size:4em;
text-align:center;
}
#headerimg .description {
font-size:1.2em;
text-align:center;
}
h2 {
font-size:1.6em;
}
h2.pagetitle {
font-size:1.6em;
}
#sidebar h2 {
font-family:'Lucida Grande',Verdana,Sans-Serif;
font-size:1.2em;
}
h3 {
font-size:1.3em;
}
h1, h1 a, h1 a:hover, h1 a:visited, #headerimg .description {
color:white;
text-decoration:none;
}
h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited {
color:#333333;
}
h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
text-decoration:none;
}
.entry p a:visited {
color:#B85B5A;
}
.sticky {
-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-origin:padding;
background:#F7F7F7 none repeat scroll 0 0;
padding:0 10px 10px;
}
.sticky h2 {
padding-top:10px;
}
.commentlist li, #commentform input, #commentform textarea {
-x-system-font:none;
font-family:'Lucida Grande',Verdana,Arial,Sans-Serif;
font-size:0.9em;
font-size-adjust:none;
font-stretch:normal;
font-style:normal;
font-variant:normal;
font-weight:normal;
line-height:normal;
}
.commentlist li ul li {
font-size:1em;
}
.commentlist li {
font-weight:bold;
}
.commentlist li .avatar {
-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-origin:padding;
background:#FFFFFF none repeat scroll 0 0;
border:1px solid #EEEEEE;
float:right;
padding:2px;
}
.commentlist cite, .commentlist cite a {
font-size:1.1em;
font-style:normal;
font-weight:bold;
}
.commentlist p {
font-weight:normal;
line-height:1.5em;
text-transform:none;
}
#commentform p {
font-family:'Lucida Grande',Verdana,Arial,Sans-Serif;
}
.commentmetadata {
font-weight:normal;
}
#sidebar {
-x-system-font:none;
font-family:'Lucida Grande',Verdana,Arial,Sans-Serif;
font-size:1em;
font-size-adjust:none;
font-stretch:normal;
font-style:normal;
font-variant:normal;
font-weight:normal;
line-height:normal;
}
small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
color:#777777;
}
code {
-x-system-font:none;
font-family:'Courier New',Courier,Fixed;
font-size:1.1em;
font-size-adjust:none;
font-stretch:normal;
font-style:normal;
font-variant:normal;
font-weight:normal;
line-height:normal;
}
acronym, abbr, span.caps {
font-size:0.9em;
letter-spacing:0.07em;
}
a, h2 a:hover, h3 a:hover {
color:#0066CC;
text-decoration:none;
}
a:hover {
color:#114477;
text-decoration:underline;
}
#wp-calendar #prev a, #wp-calendar #next a {
font-size:9pt;
}
#wp-calendar a {
text-decoration:none;
}
#wp-calendar caption {
-x-system-font:none;
font-family:'Lucida Grande',Verdana,Arial,Sans-Serif;
font-size:1.3em;
font-size-adjust:none;
font-stretch:normal;
font-style:normal;
font-variant:normal;
font-weight:bold;
line-height:normal;
text-align:center;
}
#wp-calendar th {
font-style:normal;
text-transform:capitalize;
}
body {
margin:0 0 20px;
padding:0;
}
#page {
background-color:white;
border:1px solid #959596;
margin:20px auto;
padding:0;
width:760px;
}
#header {
background-color:#73A0C5;
height:200px;
margin:0 0 0 1px;
padding:0;
width:758px;
}
#headerimg {
height:200px;
margin:0;
width:100%;
}
.narrowcolumn {
float:left;
margin:0 0 0;
padding:0 0 20px 45px;
width:450px;
}
.widecolumn {
margin:5px 0 0 150px;
padding:10px 0 20px;
width:450px;
}
.post {
margin:0 0 40px;
text-align:justify;
}
.post hr {
display:block;
}
.widecolumn .post {
margin:0;
}
.narrowcolumn .postmetadata {
padding-top:5px;
}
.widecolumn .postmetadata {
margin:30px 0;
}
.widecolumn .smallattachment {
float:left;
margin:5px 5px 5px 0;
text-align:center;
width:128px;
}
.widecolumn .attachment {
margin:5px 0;
text-align:center;
}
.postmetadata {
clear:both;
}
.clear {
clear:both;
}
#footer {
clear:both;
margin:0 auto;
padding:0;
width:760px;
}
#footer p {
margin:0;
padding:20px 0;
text-align:center;
}
h1 {
margin:0;
padding-top:70px;
}
h2 {
margin:30px 0 0;
}
h2.pagetitle {
margin-top:30px;
text-align:center;
}
#sidebar h2 {
margin:5px 0 0;
padding:0;
}
h3 {
margin:30px 0 0;
padding:0;
}
h3.comments {
margin:40px auto 20px;
padding:0;
}
p img {
max-width:100%;
padding:0;
}
img.centered {
display:block;
margin-left:auto;
margin-right:auto;
}
img.alignright {
display:inline;
margin:0 0 2px 7px;
padding:4px;
}
img.alignleft {
display:inline;
margin:0 7px 2px 0;
padding:4px;
}
.alignright {
float:right;
}
.alignleft {
float:left;
}
html > body .entry ul {
list-style-image:none;
list-style-position:outside;
list-style-type:none;
margin-left:0;
padding:0 0 0 10px;
text-indent:-10px;
}
html > body .entry li {
margin:7px 0 8px 10px;
}
.entry ul li:before, #sidebar ul ul li:before {
content:"» ";
}
.entry ol {
margin:0;
padding:0 0 0 35px;
}
.entry ol li {
margin:0;
padding:0;
}
.postmetadata ul, .postmetadata li {
display:inline;
list-style-image:none;
list-style-type:none;
}
#sidebar ul, #sidebar ul ol {
margin:0;
padding:0;
}
#sidebar ul li {
list-style-image:none;
list-style-type:none;
margin-bottom:15px;
}
#sidebar ul p, #sidebar ul select {
margin:5px 0 8px;
}
#sidebar ul ul, #sidebar ul ol {
margin:5px 0 0 10px;
}
#sidebar ul ul ul, #sidebar ul ol {
margin:0 0 0 10px;
}
ol li, #sidebar ul ol li {
list-style-image:none;
list-style-position:outside;
list-style-type:decimal;
}
#sidebar ul ul li, #sidebar ul ol li {
margin:3px 0 0;
padding:0;
}
#searchform {
margin:10px auto;
padding:5px 3px;
text-align:center;
}
#sidebar #searchform #s {
padding:2px;
width:108px;
}
#sidebar #searchsubmit {
padding:1px;
}
.entry form {
text-align:center;
}
select {
width:130px;
}
#commentform input {
margin:5px 5px 1px 0;
padding:2px;
width:170px;
}
#commentform {
margin:5px 10px 0 0;
}
#commentform textarea {
padding:2px;
width:100%;
}
#respond:after {
clear:both;
content:".";
display:block;
height:0;
visibility:hidden;
}
#commentform #submit {
float:right;
margin:0 0 5px auto;
}
.alt {
margin:0;
padding:10px;
}
.commentlist {
padding:0;
text-align:justify;
}
.commentlist li {
list-style-image:none;
list-style-position:outside;
list-style-type:none;
margin:15px 0 10px;
padding:5px 5px 10px 10px;
}
.commentlist li ul li {
margin-left:10px;
margin-right:-5px;
}
.commentlist p {
margin:10px 5px 10px 0;
}
.children {
padding:0;
}
#commentform p {
margin:5px 0;
}
.nocomments {
margin:0;
padding:0;
text-align:center;
}
.commentmetadata {
display:block;
margin:0;
}
#sidebar {
margin-left:545px;
padding:20px 0 10px;
width:190px;
}
#sidebar form {
margin:0;
}
#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;
}
#wp-calendar td.pad:hover {
background-color:#FFFFFF;
}
acronym, abbr, span.caps {
cursor:help;
}
acronym, abbr {
border-bottom:1px dashed #999999;
}
blockquote {
border-left:5px solid #DDDDDD;
margin:15px 30px 0 10px;
padding-left:20px;
}
blockquote cite {
display:block;
margin:5px 0 0;
}
.center {
text-align:center;
}
.hidden {
display:none;
}
.screen-reader-text {
left:-1000em;
position:absolute;
}
hr {
display:none;
}
a img {
border:medium none;
}
.navigation {
display:block;
margin-bottom:60px;
margin-top:10px;
text-align:center;
}
.aligncenter, div.aligncenter {
display:block;
margin-left:auto;
margin-right:auto;
}
.wp-caption {
-moz-border-radius-bottomleft:3px;
-moz-border-radius-bottomright:3px;
-moz-border-radius-topleft:3px;
-moz-border-radius-topright:3px;
background-color:#F3F3F3;
border:1px solid #DDDDDD;
margin:10px;
padding-top:4px;
text-align:center;
}
.wp-caption img {
border:0 none;
margin:0;
padding:0;
}
.wp-caption p.wp-caption-text {
font-size:11px;
line-height:17px;
margin:0;
padding:0 4px 5px;
}
Alles anzeigen
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!