Hi Pierre,
Please follow these steps below :
1. Open file root_folder/templates/ja_smashboard/html/com_content/featured/default_item.php and look for this code :
<div class="pull-<?php echo htmlspecialchars($imgfloat); ?> item-image"> <img
<?php if ($images->image_intro_caption):
echo 'class="caption"'.' title="' .htmlspecialchars($images->image_intro_caption) .'"';
endif; ?>
src="<?php echo htmlspecialchars($images->image_intro); ?>" alt="<?php echo htmlspecialchars($images->image_intro_alt); ?>"/>
</div>
then update as below :
<div class="pull-<?php echo htmlspecialchars($imgfloat); ?> item-image">
<a href="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid)); ?>"></a>
<img
<?php if ($images->image_intro_caption):
echo 'class="caption"'.' title="' .htmlspecialchars($images->image_intro_caption) .'"';
endif; ?>
src="<?php echo htmlspecialchars($images->image_intro); ?>" alt="<?php echo htmlspecialchars($images->image_intro_alt); ?>"/>
</div>
2. Next, open file root_folder/templates/ja_smashboard/css/custom.css and add this code :
@media (max-width: 480px) {
.item-image-wrap > div > a {
width: 100%;
height: 100%;
position: absolute;
}
}
Save your file and check the result.