Hallo,
vielen Dank für die Info. Ich habe es geändert und nun geht es!:-D
Hatte ich falsch verstanden mit der Änderung. Danke nochmal!
Harie
Beiträge von Harie
-
-
Es muss irgendwie am code der sidebar liegen, alle Elemente der dynamischen Sidebar sind nach rechts eingezogen. Weiss keiner eine Lösung?
-
Hallo maxe,
vielen Dank für Deine Hilfe. Ich habe das nun gemacht, meine .css Datei sieht nun so aus:
PHP
Alles anzeigen/* Sidebar -------------------------------------------------------- */ #sidebar li, #blogextra li { background:transparent url(img/sidebar_li.gif) no-repeat scroll 10px 4px !important; padding:0 4px 0 20px; } /* Classes -------------------------------------------------------- */
Leider ist die dynamische Sidebar immer noch nach rechts versetzt, in meinem blog ist die css Datei nun aktiv.
Viele Grüße,
Harie -
Hallo,
meine sidebar.php sieht so aus:
PHP
Alles anzeigen<div id="bright"><div id="bright2"> <div id="brightTop"><span id="brightleftTop"><span id="brightrightTop"></span></span></div> <div id="brightcenter"> <div id="sidebar"> <div id="blogextra"> <?php include (TEMPLATEPATH . '/searchform.php'); ?> <!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it. <h2>Author</h2> <p>A little something about you, the author. Nothing lengthy, just an overview.</p> --> <?php /* If this is a 404 page */ if (is_404()) { ?> <?php /* If this is a category archive */ } elseif (is_category()) { ?> <p>You are currently browsing the archives for the <?php single_cat_title(''); ?> category.</p> <?php /* If this is a yearly archive */ } elseif (is_day()) { ?> <p>You are currently browsing the <a href="<?php bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives for the day <?php the_time('l, F jS, Y'); ?>.</p> <?php /* If this is a monthly archive */ } elseif (is_month()) { ?> <p>You are currently browsing the <a href="<?php bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives for <?php the_time('F, Y'); ?>.</p> <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> <p>You are currently browsing the <a href="<?php bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives for the year <?php the_time('Y'); ?>.</p> <?php /* If this is a monthly archive */ } elseif (is_search()) { ?> <p>You have searched the <a href="<?php echo bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives for <strong>'<?php the_search_query(); ?>'</strong>. If you are unable to find anything in these search results, you can try one of these links.</p> <?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> <p>You are currently browsing the <a href="<?php echo bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives.</p> <?php } ?> <ul> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : endif; ?> </ul> <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?> <h2>Links</h2> <ul> <?php wp_list_bookmarks('title_li=&title_before=<h3>&title_after=</h3>&category_before=&category_after'); ?> </ul> <?php } ?> </div> <!-- End #blogextra --> <div id="syndicate"> <ul> <li><a href="feed:<?php bloginfo('rss2_url'); ?>">Articles (RSS)</a></li> <li><a href="feed:<?php bloginfo('comments_rss2_url'); ?>">Comments (RSS)</a></li> </ul> </div><!-- /syndicate --> </div><!-- /sidebar --> </div><!-- /brightcenter --> <div id="brightFoot"><span id="brightleftFoot"><span id="brightrightFoot"></span></span></div> </div></div><!-- /bright & bright2 -->
Nun wird aber die dynamic sidebar (<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : endif; ?>) nicht wie die Suche oder die anderen Überschriften der Sidebar linksbündig angezeigt, sondern immer mit einem Dreieck ein Stück nach rechts versetzt. Ich habe dort z.B. die Seitenlinks und einen Kalender eingebaut, beides ist jedoch ein Stück zu weit links und hat jeweils ein Dreieck / Aufzählungszeichen vor der Überschrift - hier mein blog:
eBay Blog - eBay | Paypal | E-Commerce | Shops | Software | Powerseller | Auktionsabwicklung
Wer weiss, warum die dynamische Sidebar immer ein Stück zuweit rechts angezeigt wird?
Danke,
H. Subke -
Hallo,
ich möchte gerne für meinen blog eine statische Startseite haben und dort die Titel der neuesten Artikel mit deren Links schreiben. Gibt es hierfür ein Plugin? Ich habe schon lange gesucht, aber nichts gefunden. Oder kann man das auch anders machen?
Es geht mir darum, die Titel der neuesten Artikel in eine beliebige Seite einzubinden (z.B. Übersicht oder so), auf die dann ein User klicken kann und so zum Artikel kommt. Es muss kein Plugin sein, wäre aber u.U. am besten.
Vielen Dank schon einmal für Eure Hilfe!
Harie