Hallo zusammen,
ich möchte gerne zwischen meinen geschriebenen Artikeln jeweils eine dünne, graue, horizontale Trennline einfügen.
Dazu habe ich in der index.php Datei folgende Ergänzung gemacht (in rot):
PHP
<?php get_header(); ?>
<!--include sidebar-->
<?php include(TEMPLATEPATH."/sidebar.php");?>
<br><b>news</b>
<div id="content">
<!--index.php-->
<!--the loop-->
<?php if (have_posts()) : ?>
<!--the loop-->
<?php while (have_posts()) : the_post(); ?>
<!--post title as a link-->
<h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<p><?php the_time('j. F Y'); ?> </p>
<div class="postspace2">
</div>
<!--post text with the read more link-->
<?php the_content('Den ganzen Beitrag lesen »'); ?>
<!--show categories, edit link ,comments-->
<p><b>Kategorie:</b> <?php the_category(', ') ?> | <?php edit_post_link('Bearbeiten', '', ' | '); ?> <?php comments_popup_link('Keine Kommentare »', '1 Kommentar »', '% Kommentare »'); ?></p>
<div class="postspace">
</div>
<!--end of one post-->[COLOR=Red]<hr /><br>[/COLOR]
<?php endwhile; ?>
<!--navigation-->
<?php next_posts_link('« Vorherige Einträge') ?>
<?php previous_posts_link('Nächste Einträge »') ?>
Alles anzeigen
Wie muss der Quellcode in der Style.css aussehen damit ich die Trennline formatieren / gestalten kann? In folgendem Beitrag wird das leider nicht beschrieben:
http://forum.wordpress-deutschland.org/design/27708-l…-berichten.html
Danke im Voraus.