Hi Beth,
This easiest way for now (i’ll think about adding an option in the next release) will be modifying the content-home.php file in between the div element class=”view view-ninth” :
<div class="view view-ninth" id="post-<?php the_ID(); ?>">
.....
</div>
REPLACE THE content of class=”view view-ninth” BLOCK BY THIS CODE :
<div class="view view-ninth" id="post-<?php the_ID(); ?>">
<a href="<?php the_permalink() ?>" style=" display:inline-block; width:100%;height:100%;">
<?php if ( has_post_thumbnail() ) {
the_post_thumbnail();
}
else {
echo '<img src="' . get_stylesheet_directory_uri() . '/img/default.jpg" />';
echo '<div class="title-no-thumb">';the_title(); echo'</div>';
} ?>
</a>
</div>
———————-
Keep always a copy of the original file, and don’t forget that if you don’t use a child theme, your modification will disapear at the next release.
Gaëlle
Thread Starter
Beth
(@pedalkraft)
You’re a star – thank you so much for the prompt response, that’s worked great 🙂