Need help? Check out our Support site, then

Why does only the last div show the css changes?

  1. On index.php I've adjusted it to look like this:

    <?php while (have_posts()) : the_post(); ?>
    <div class="blog_post_wrap">
    <div class="blog_post_left">
    <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
    <h3>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></h3>
    <span class="blog_date">Updated <?php the_time('jS F Y') ?> <!-- by <?php the_author() ?> --></span>
    <div class="blog_button_text">
    " title="Read all of ’<?php the_title(); ?>’">Read entire post
    <div class="blog_button_text">
    <?php the_tags('Tags: ', ', ', '
    '); ?> <?php comments_popup_link('Comments (0)', 'Comments (1)', 'Comments (%)'); ?>
    <div class="blog_post_right">
    <div class="entry">
    <?php the_content('Read the rest of this entry »'); ?>
    <?php endwhile; ?>

    I've made a part of the CSS as follows:

    .blog_button_text a, .blog_button_text a:visited, .blog_button_text a:hover {
    text-decoration: none;

    Why does only the final blog_button_text class div on the page show no text-decoration? All the others above it have the underline. Is this something to do with the loop? How do I overcome this?


  2. You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for blogs hosted at If your question is about a self-hosted WordPress blog then you'll find help at the forums.

    If you don't understand the difference between and, 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.

Topic Closed

This topic has been closed to new replies.

About this Topic