Removing a divider line after last post/widget
-
Hi guys,
On my web-site, on template of home page i show last N posts of my site.
After each post i’ve created divide block with image in background.
How can i remove this block after the post on home page.
Exaclty the same situation i have on sidebar.
Part of code from home page:<?php while ( have_posts() ) : the_post(); ?> /*body of my post*/ <div class="divide"></div> <?php endwhile; ?>Part from style.css:
.divide-sidebar{ background-image: url(images/someimage.png); width: 100%; background-repeat: repeat-x; margin: 27px 0 0; } -
You did not specify a blog address or reason for posting when you created this topic.
This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.
If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.
If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.
This is an automated message.
- The topic ‘Removing a divider line after last post/widget’ is closed to new replies.