- This topic is empty.
-
AuthorPosts
-
July 20, 2010 at 12:15 pm #29673swenson_designsMember
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,
NickJuly 20, 2010 at 1:19 pm #80107dcp3450Participantthere 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.
July 20, 2010 at 4:47 pm #80115swenson_designsMember"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>
July 20, 2010 at 5:14 pm #80117dcp3450Participantit’s inside the content for the main page. thats the only place it can be.
-
AuthorPosts
- The forum ‘CSS’ is closed to new topics and replies.