Kleiner Balken im Artikel nicht wegzubekommen

  • Hallo Ihr Lieben,
    wenn man Artikel wie diesen
    http://www.hamburg4kids.de/geniessen/rest…bau-rotherbaum/
    aufruft, erscheint unten am Bildrand immer so ein grauer Balken.
    Wie bekommt man diesen weg?

    Hier die single.php

    <?php get_header(); ?>

    <div id="casing">
    <div id="content" >

    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>

    <div class="post" id="post-<?php the_ID(); ?>">

    <div class="title">
    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    </div>

    <div class="cover">
    <div class="entry">
    <?php the_content('Read the rest of this entry &raquo;'); ?>
    <?php include (TEMPLATEPATH . '/ad.php'); ?>
    <div class="clear"></div>
    <?php wp_link_pages(array('before' => '<p><strong>Pages: </strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
    </div>
    </div>

    <div class="mdate">
    <span class="author"> <?php the_author(); ?></span>
    <span class="clock"> <?php the_time('j - F - Y'); ?></span>
    <span class="more"><?php edit_post_link(); ?></span>
    </div>

    </div>

    <div class="subpost">

    <div class="subox">
    <h3>Categories</h3>

    <span><?php the_category(', '); ?></span>
    <h3>Tags</h3>
    <span><?php the_tags(''); ?></span>

    </div>
    <div class="subox">
    <h3>Related Posts</h3>
    <?php echo do_shortcode('[related_posts]');?>
    </div>


    </div>

    <?php comments_template(); ?>
    <?php endwhile; else: ?>

    <h1 class="title">Not Found</h1>
    <p>I'm Sorry, you are looking for something that is not here. Try a different search.</p>

    <?php endif; ?>

    </div>

    <?php get_sidebar(); ?>
    <?php get_footer(); ?>


    Lieben Dank,
    Sandy

    • Anzeige

    Hallo!

    Wenn du gerade an deiner Website arbeitest oder dein aktuelles Hosting überdenkst: Wir betreiben mit NetzLiving eine Hosting-Plattform, die speziell auf Performance, Sicherheit und einfache Verwaltung ausgelegt ist.

    • ✔️ Schnelle Ladezeiten (optimiert für WordPress & Co.)
    • ✔️ Deutsche Server & DSGVO-konform
    • ✔️ Persönlicher Support (kein 0815-Ticket-System)

    Mehr erfahren

  • Entferne in der style.css des Themes

    Code
    .postad {
        background: none repeat scroll 0 0 #E4E4E4;
        border: 1px solid #CCCCCC;
        margin: 10px auto;
        padding: 5px;
        text-align: center;
        width: 478px;
    }

    und in der single.php

    PHP
    <?php include (TEMPLATEPATH . '/ad.php'); ?>
  • Entferne in der style.css des Themes

    Code
    .postad {
        background: none repeat scroll 0 0 #E4E4E4;
        border: 1px solid #CCCCCC;
        margin: 10px auto;
        padding: 5px;
        text-align: center;
        width: 478px;
    }

    und in der single.php

    PHP
    <?php include (TEMPLATEPATH . '/ad.php'); ?>


    Danke, hatte es JUST in diesem Moment gefunden, hatte jetzt nur das "TEMPLATEPATH" entfernt, reicht das nicht?

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!