Ich will bei der Vorlage ein Hintergrundbild rechts oben einfügen, aber ich bekomm es nicht hin.
http://themes.wordpress-deutschland.org/demoblog/index…=wp-multiflex-3
Im folgenden CSS-Code muss man doch im rot markierten Bereich einfach background-Image: url(xyz....) no-repeat top right; eingeben. Habs versucht, aber dann passiert gar nichts...
CSS Code
Code
/* Various elements */
[color=red]body {
background-color: #fff;
margin: 10px 0;
font: 72% Verdana, Geneva, Arial, Helvetica, sans-serif;
color: #000;
}[/color]
div {
margin: 0;
padding: 0;
}
p {
font-size: 1.1em;
}
a {
color: #467AA7;
font-weight: bold;
}
a:hover {
color: #2a5a8a;
}
code {
font-size: 1.1em;
display: block;
font-family: "Courier New", Courier, monospace;
background-color: #ffffcc;
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: 1px solid #969696;
}
/* Masthead --- top of header */
#masthead {
background: url(images/bg_head_top.jpg) no-repeat top left;
height: 81px;
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: #7d7d7d;
text-decoration: none;
}
#masthead h1 a:hover {
color: #000;
}
#masthead p.description {
margin: -5px 0 0 0;
padding: 0;
font-weight: bold;
color: #7d7d7d;
}
/* 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.gif);
height: 64px;
width: 64px;
margin: 9px 9px 0 0;
display: block;
}
#masthead div.right-masthead a.rss-logo:hover {
background: url(images/rss-hover.gif);
}
/* Middle header image and text */
#header {
background: url(images/bg_head_middle.jpg) no-repeat top left;
height: 150px;
margin: 0;
padding: 0;
color: #EAEFF7;
}
#header #textbox {
float: right;
width: 900px;
text-align: right;
font-weight: bold;
}
#header a {
color: #EAEFF7;
text-decoration: none;
}
#header a:hover {
color: #000;
}
#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: 40px;
}
#navigation ul {
margin: 0;
padding: 0;
}
#navigation li {
margin: 0px;
height: 40px;
float: left;
list-style: none;
border-right: 1px solid #AFAFAF;
}
#navigation li a {
font-family:"trebuchet ms",arial,sans-serif;
display: block;
padding: 11px 14px 11px 14px;
color: #7d7d7d;
font-weight: bold;
font-size: 1.105em;
text-decoration: none;
}
#navigation li a:hover {
background-color: #d2d2d2;
color: #000;
}
/* 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: #7D7D7D;
font-weight: bold;
font-size: 0.9em;
width:700px;
}
#breadcrumb a {
background: url(images/bg_bullet_arrow.gif) left no-repeat;
padding: 0 2px 0 10px;
text-decoration: none;
color: #467AA7;
}
#breadcrumb a:hover {
color: #2a5a8a;
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: 1px solid #BEBEBE;
height: 17px;
width: 120px;
}
#searchbutton {
background-color: #E6E6E6;
border: 1px solid #BEBEBE;
color: #808080;
padding:0;
font-size: 1em;
height: 20px;
width: 35px;
text-align: center;
cursor: pointer;
}
#searchbutton:hover {
background-color: #dcdcdc;
color: #404040;
border: 1px solid #404040;
}
/* Container wrappers */
#container {
clear: both;
margin: 0;
padding: 0;
}
#left-wrap {
width: 690px;
float: left;
margin: 0;
padding: 0;
}
/* Main content area */
#content {
float: right;
width: 480px;
margin: 0;
padding: 0;
}
#content .post, #content .page {
margin: 0;
padding: 0 15px 10px 15px;
}
#content h2 {
font-size: 1.8em;
font-family:"trebuchet ms",arial,sans-serif;
margin: 0;
padding: 0;
border-bottom: 7px solid #E1E1E1;
color: #646464;
}
#content h2 a {
color: #646464;
text-decoration: none;
}
#content h2 a:hover {
color: #000;
text-decoration: none;
}
#content h2.pagetitle {
border-bottom: none;
background: #bebebe url(images/bg_corner_topright.gif) top right no-repeat;
font-family:"trebuchet ms",arial,sans-serif;
color: #fff;
margin: 0 15px 20px 15px;
padding: 3px 5px;
font-size: 1.3em;
}
#content .entry h1 {
font-size: 2em;
color: #646464;
}
#content .entry h2 {
font-size: 1.8em;
color: #646464;
border-bottom: none;
}
#content .entry h3 {
font-size: 1.5em;
color: #646464;
}
#content .entry h4 {
font-size: 1.1em;
color: #646464;
}
#content a {
text-decoration: none;
}
#content a:hover {
text-decoration: underline;
}
#content p {
font-size: 1.1em;
}
#content p.prefix {
margin: 0;
padding: 0;
font-size: 1em;
}
#content p.suffix {
font-size: 0.9em;
background: #E1E1E1 url(images/bg_corner_topright.gif) top right no-repeat;
color: #000;
padding: 5px;
font-weight: normal;
line-height: 16px;
clear: both;
}
#content p.suffix a {
color: #467AA7;
text-decoration: none;
}
#content p.suffix a:hover {
color: #2a5a8a;
text-decoration: underline;
}
#content p.edit {
margin: 0;
padding: 0;
font-size: 0.9em;
}
#content ul, #content ol {
padding: 6px 0 6px 30px;
margin: 0 0 0 30px;
}
#content li {
font-size: 1.05em;
padding: 2px 0 2px 0;
}
#content ul li {
list-style: square url(images/bg_bullet_full_2.gif);
}
.navigation, .bottomnavigation {
height: 15px;
}
.navigation .alignleft, .bottomnavigation .alignleft {
float: left
}
.navigation .alignright, .bottomnavigation .alignright {
float: right;
}
.entry {
overflow: hidden;
}
.entry a {
overflow: hidden;
}
.entry img {
overflow: hidden;
}
/* Monsterous hack to get IE6 to cut off an image bigger than the post area */
* html .entry p {
width: 99%;
overflow: hidden;
}
/* Sidebars */
/* Colour of right sidbar menu header */
#right-sidebar h2 {
background-color: #7698be;
}
/* Colour of right sidebar menu body */
#right-sidebar ul ul, #right-sidebar li, #right-sidebar li li, #right-sidebar li li li {
background-color: #d4dde4;
}
/* Colour of left sidebar menu header */
#sidebar h2.pages, #sidebar li h2 {
background-color: #7698be;
}
/* Left sidebar */
#sidebar {
width: 200px;
padding: 0 0 10px 0;
margin: 0;
}
#sidebar ul {
margin: 0;
padding: 0;
Alles anzeigen