Hallo zusammen.
Wie der Titel schon sagt möchte ich meine Sidebar anders Positionieren.
Also mein Theme hat 2 Sidebars die stehen beide rechts des Content, nun möchte ich dass eine Sidebar links des Content steht und die andere rechts bleibt.
Einen kleinen erfolg konnte ich damit erzielen in dem ich in der style.css unter
#contentleft das float von left auf right änderte, nun stehen aber beide Sidebars links. Wie bekomme ich jetzt die eine aber nach rechts?
Das ändern des float unter #l_sidebar oder #r_sidebar vertauscht jeweils bloss die linke mit der rechten Sidebar.
hier die relevanten angaben aus meiner style.css ich nutze WP 2.9
/************************************************
* Content *
************************************************/
#content {
width: 960px;
margin: 0px auto 0px;
padding: 0px 0px 0px 0px;
overflow: hidden;
}
#content img a{
margin: 0px;
border: none;
float: left;
}
#content h1 {
color: #e31fa2;
font-size: 13px;
font-family: verdana, arial, times new roman;
font-weight: bold;
margin: 0px 0px 10px 0px;
padding: 5px 0px 5px 0px;
border-top: 1px dotted #454545;
border-bottom: 1px dotted #454545;
text-transform: uppercase;
}
#content h1 a, #content h1 a:visited {
color: #e31fa2;
text-decoration: none;
}
#content h1 a:hover {
color: #d9319c;
text-decoration: none;
}
#content h2 {
color: #333333;
font-size: 14px;
font-family: verdana, arial, times new roman;
font-weight: bold;
margin: 0px;
padding: 0px 0px 5px 0px;
}
#content h2 a, #content h2 a:visited {
color: #333333;
text-decoration: none;
}
#content h2 a:hover {
color: #e31fa2;
text-decoration: none;
}
#content h3 {
color: #bbb;
font-size: 14px;
font-family: verdana, arial, times new roman;
font-weight: bold;
margin: 0px 0px 10px 0px;
padding: 5px 0px 5px 0px;
border-top: 1px dotted #454545;
border-bottom: 1px dotted #454545;
text-transform: uppercase;
}
#content img.wp-smiley {
float: none;
border: none;
padding: 0px;
margin: 0px;
}
#content img.wp-wink {
float: none;
border: none;
padding: 0px;
margin: 0px;
}
#contentleft {g
background: #FFFFFF;
display: inline;
float: right;
width: 480px;
margin: 0px 20px 0px 0px;
padding: 20px 0px 0px 0px;
}
#contentleft img{
border:1px solid #CCCCCC;
}
#contentleft p{
padding: 0px 0px 15px 0px;
margin: 0px;
line-height: 17px;
}
#contentleft ol{
margin: 0px 0px 0px 20px;
padding: 0px 0px 10px 0px;
}
#contentleft ol li{
margin: 0px 0px 0px 20px;
padding: 0px 0px 5px 0px;
}
#contentleft ul{
list-style-type: square;
margin: 0px 0px 0px 20px;
padding: 0px 0px 10px 0px;
}
#contentleft ul li{
list-style-type: square;
margin: 0px 0px 0px 20px;
padding: 0px 0px 5px 0px;
}
blockquote{
margin: 0px 25px 15px 25px;
padding: 0px 25px 0px 10px;
background: #E8E8E8;
border-top: 2px solid #000000;
border-bottom: 1px solid #000000;
}
#content blockquote p{
margin: 0px 0px 10px 0px;
padding: 10px 0px 0px 0px;
}
.postinfo {
width: 460px;
background: #121212;
font-size: 11px;
color: #999;
margin: 0px 0px 60px 0px;
padding: 10px 10px 10px 10px;
border-top: 2px solid #222;
border-bottom: 1px solid #222;
line-height: 10px;
}
/************************************************
* Left Sidebar *
************************************************/
#l_sidebar {
/*background: ;*/
display: inline;
float: right;
width: 198px;
margin: 0px 20px 0px 0px;
padding: 0px 20px 10px 0px;
border-left: 1px solid #121212;
border-right: 1px solid #121212;
border-bottom: 1px solid #121212;
overflow:hidden;
}
#l_sidebar p{
padding: 5px 0px 0px 0px;
margin: 0px;
line-height: 17px;
}
#l_sidebar h2 {
color: #e31fa2;
font-size: 13px;
font-family: verdana, arial, times new roman;
font-weight: bold;
margin: 20px 0px 0px 0px;
padding: 0px 0px 5px 0px;
border-bottom: 1px dotted #454545;
}
#l_sidebar ul {
list-style: none;
margin: 0px;
padding: 0px;
}
#l_sidebar ul {
padding: 0px;
margin: 0px;
}
#l_sidebar li {
padding: 0px;
margin: 10px 0px;
}
#l_sidebar li li {
border-bottom: 1px dotted #454545;
padding-bottom: 5px;
}
#l_sidebar ul li a, #l_sidebar ul li a:visited {
display: inline;
color: #aaa;
text-decoration: none;
padding: 5px 0px 5px 0px;
}
#l_sidebar ul li a:hover {
color: #e31fa2;
text-decoration: none;
}
/************************************************
* Right Sidebar *
************************************************/
#r_sidebar {
/*background: #FFFFFF /*url(images/sidetop.gif) no-repeat top */;
display: inline;
float: left;
width: 200px;
margin: 0px 0px 0px 0px;
padding: 0px 0px 10px 0px;
overflow:hidden;
}
#r_sidebar img a{
margin: 0px;
border: none;
}
#r_sidebar p{
padding: 5px 0px 0px 0px;
margin: 0px;
line-height: 17px;
}
#r_sidebar h2 {
color: #e31fa2;
font-size: 13px;
font-family: verdana, arial, times new roman;
font-weight: bold;
margin: 20px 0px 0px 0px;
padding: 0px 0px 5px 0px;
border-bottom: 1px dotted #454545;
}
#r_sidebar ul {
list-style: none;
margin: 0px;
padding: 0px;
}
#r_sidebar ul li {
display: inline;
padding: 0px;
margin: 0px;
}
#r_sidebar ul li a, #r_sidebar ul li a:visited {
display: block;
color: #aaa;
text-decoration: none;
padding: 5px 0px 5px 0px;
border-bottom: 1px dotted #454545;
}
#r_sidebar ul li a:hover {
background: #121212;
color: #e31fa2;
text-decoration: none;
}
Alles anzeigen
Das Theme heisst pc_wpt_teen_037 und ist ein Erotik Theme, Leider kann es noch nicht öffentlich angeschaut werden weil unter der Domain noch das alte Projekt am laufen ist. wer aber interesse haben sollte kann sich das Projekt gerne anschauen wenn es fertig ist (einfach PN an mich). Ich hoffe es kann mir trotzdem geholfen werden.