Hi
@devsmi this part is presented by K2 and we have an override for it in template, so I have to answer since it's within support agreement.
@canavan please edit /html/com_k2/default/category_item.php find this code (lines 157-166):
- Code: Select all
<?php if($this->item->params->get('catItemImage') && !empty($this->item->image)): ?>
<!-- Item Image -->
<div class="catItemImageBlock">
<span class="catItemImage">
<a href="<?php echo $this->item->link; ?>" title="<?php if(!empty($this->item->image_caption)) echo K2HelperUtilities::cleanHtml($this->item->image_caption); else echo K2HelperUtilities::cleanHtml($this->item->title); ?>">
<img src="<?php echo $this->item->image; ?>" alt="<?php if(!empty($this->item->image_caption)) echo K2HelperUtilities::cleanHtml($this->item->image_caption); else echo K2HelperUtilities::cleanHtml($this->item->title); ?>" style="width:<?php echo $this->item->imageWidth; ?>px; height:auto;" />
</a>
</span>
</div>
<?php endif; ?>
cut it and paste to line 35 which should be an empty line between this 2:
- Code: Select all
<div class="catItemContent">
<div class="catItemHeader">