Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Top border issue

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #29673

    Hi all,

    I’m having a bit of trouble figuring out how to make this top border go away. Because of this it’s covering up part of the top background image. I tried making the background of the div tranparent in hopes it would allow the background image to show behind it…BUT no such luck. NEED HELP :)

    Site URL:
    http://campbell-legal.com/

    Thanks,
    Nick

    #80107
    dcp3450
    Participant

    there seems to be a stray </p> tag after <div class="top_Post"> and before <div class="last-posts"> I removed it with firebug and the border went away.

    #80115
    "dcp3450" wrote:
    there seems to be a stray </p> tag after <div class="top_Post"> and before <div class="last-posts"> I removed it with firebug and the border went away.

    I see that too; however, I don’t know how to get rid of it?? It doesn’t seem to be that way on the sub pages? Here is the code:

    Code:
    <div id="content">
    <div class="top">
    <?php if(is_home() && !is_paged()): ?>
    <div class="top_Post">
    <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    <?php if ( is_sticky() ) { ?>
    <div id="" class="l_post">
    <?php if(get_settings(‘kasrod_color’)<>”) { $background = get_settings(‘kasrod_color’); } ?>

    <div class="post" id="post-<?php the_ID(); ?>">
    <h3 class="title" style="background:#<?php echo $background;?>; border-bottom:solid 1px #<?php echo $background;?>; "><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h3>
    </div>
    <?php //the_content(‘Read more’);
    the_content();
    ?>
    <?php wp_link_pages(); ?>
    <br/>
    <?php edit_post_link(); ?>
    <a class="more-link" href="<?php the_permalink() ?>" rel="bookmark" style="color:#<?php echo $background;?>;"
    title="Permanent Link to <?php the_title_attribute(); ?>">Read more</a>
    </div>
    <?php } ?>
    <?php endwhile;
    if( $sticky_counter == 0 )
    {
    ?>
    <p><?php wp_last_posts(1); }?></p>
    <?php endif; ?>

    </div>

    #80117
    dcp3450
    Participant

    it’s inside the content for the main page. thats the only place it can be.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.