Huhu zusammen,
ich hab jetzt schon das Forum, Google & Co, abgesucht, für mein Problem aber keine Lösung finden können...
Also ich hab' mir ein Theme geladen (Dirty Green Wall) und installiert, soweit ales okay.
Ich möchte aber 2 Sidebars haben, statt nur einer. Soweit auch kein Problem. Habe die Bilder erstellt/geändert
eine zusätzliche rsidebar_right.php erstellt (wobei ich hier die andere nur kopiert habe und dann halt alles von sidebar in rightsidebar geändert):
<!-- Rightsidebar -->
<div id="rightsidebar"><div id="rightsidebar-top"><div id="rightsidebar-bottom"><div id="rightsidebar-content">
<div class="rightsidebar-box">
<h3>Pages</h3>
<ul>
<?php wp_list_pages('title_li='); ?>
</ul>
</div>
<div class="rightsidebar-box">
<h3>Categories</h3>
<ul>
<?php wp_list_categories('title_li='); ?>
</ul>
</div>
<div class="rightsidebar-box">
<h3>Archives</h3>
<ul>
<?php wp_get_archives('type=monthly'); ?>
</ul>
</div>
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(1) ) : ?>
<?php endif; ?>
</div><div class="clear"></div></div></div></div>
<!-- Rightsidebar -->
Alles anzeigen
Dann hab' ich in die jeweiligen Dateien (index, page usw.) das Include gepackt:
Und zuletzt dann noch versucht die CSS anzupassen:
/* Main - Sidebar - right*/
#rightsidebar {
float: right;
width: 42px;
font: normal 12px/18px Arial;
color: #1c341d;
background: url("images/sidebar2.gif") repeat-y;
margin: 80px;
}
#rightsidebar-top {
width: 195px;
background: url("images/sidebar_top2.jpg") no-repeat;
}
#rightsidebar-bottom {
width: 172px;
min-height: 380px;
padding: 5px 0 100px 27px;
background: url("images/sidebar_bottom2.jpg") no-repeat left bottom;
}
#rightsidebar-content {
max-width: 172px;
float: right;
}
#rightsidebar a {
color: #791910;
text-decoration: none;
}
#rightsidebar a:hover {
text-decoration: underline;
}
#rightsidebar .sidebar-box {
padding: 0 10px 15px 0;
}
/* Rightsidebar - Titles */
#rightsidebar h3 {
font: normal 19px Arial;
color: #791910;
margin-bottom: 5px;
}
/* Rightsidebar - Menus */
#rightsidebar ul {
margin: 0;
padding: 0 0 0 15px;
list-style-type: none;
}
#rightsidebar ul li {
font: normal 12px/22px Arial;
color: #1c341d;
}
#rightsidebar ul li a {
color: #1c341d;
text-decoration: none;
}
#rightsidebar ul li a:hover {
text-decoration: underline;
}
#rightsidebar ul li ul {
padding: 0 0 0 10px;
}
/* Rightsidebar - Forms */
#rightsidebar #searchform {
margin: 0;
padding: 10px 0;
width: 100%;
text-align: center;
}
#rightsidebar #searchform #s {
width: 105px;
}
/* Rightsidebar - Tables */
#rightsidebar #calendar_wrap {
margin: 0 auto;
width: 130px;
}
#rightsidebar #calendar_wrap caption {
font-weight: bold;
}
#rightsidebar #calendar_wrap tbody {
text-align: right;
}
#rightsidebar #calendar_wrap tfoot #next {
text-align: right;
}
#rightsidebar #calendar_wrap #today {
font-weight: bold;
}
/* Rightsidebar - Texts */
#rightsidebar .textwidget {
padding: 0 5px;
}
Alles anzeigen
Ich kenn' mich nicht so gut aus mit dem gecode, und so langsam bin ich mit meinem Latein am Ende.
Die 2. Sidebar ist zwar da, aber
- sie hängt zur Hälfte im Post
- sie soll auf Höhe des Content-Feldes (beim Bogen)
- sie soll nach Möglichkeit Widgetfähig sein (hier glaube ich zu wissen, dass ich irgendwas in der functions.php machen muss, weiß aber nicht was genau)
Ich hoffe es kann mir jemand helfen :oops:
Ganz liebe Grüße
Tanja (My own Living)