Support » Theme: Expound » Featured post won't link

  • I’m running Expound; have been for years. Lately, the featured blog post preview shown at the top of the page doesn’t link to the single post. Neither the title nor the “continue reading” button link to the story. Only the image does.

    Here is the relevant code on featured-content.php:

    <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    		<?php if ( has_post_thumbnail() ) : ?>
    		<div class="entry-thumbnail">
    			<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail( 'expound-featured' ); ?></a>
    		<?php endif; ?>
    		<header class="entry-header">
    			<h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'expound' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
    		</header><!-- .entry-header -->
    		<div class="entry-summary">
    			<?php the_excerpt(); ?>
    			<p><a class="button-primary" href="<?php the_permalink(); ?>"><?php _e( 'Continue reading →', 'expound' ); ?></a></p>
    		</div><!-- .entry-summary -->
    		<div class="clear"></div>

    Any idea how I can fix this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • sacredpath


    Automattic Happiness Engineer

    Hi, the height on .site-title in your custom CSS (500px) is causing that div to overlay the featured post and obscure the links. Change the height to 154px (the same as the height of your image) and then things will return to normal.

    @sacredpath, you’re amazing! What’s a tool I could use to detect and resolve CSS problems like that in the future? I would never have guessed that myself.



    Automattic Happiness Engineer

    @laureninspace, i just use the web inspector tool built into the browser and start looking around. When I highlighted the title I saw the div extend down below the featured image so I then looked at the CSS and found that issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Featured post won't link’ is closed to new replies.