I have the same problem with intro image that do not float on left. With this override I get to do that works (Moving the [<?php echo LayoutHelper::render('joomla.content.intro_image', $this->item); ?>] line inside the H2 tag, and so it floats to the left of the title, but this is bad for SEO. I need to do more test:
Code:
<h2 class="item-title" itemprop="headline"><?php echo LayoutHelper::render('joomla.content.intro_image', $this->item); ?><?php if ($params->get('link_titles') && $params->get('access-view')) : ?> <a href="<?php echo Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)); ?>" itemprop="url"> <?php echo $this->escape($this->item->title); ?> </a> <?php else : ?> <?php echo $this->escape($this->item->title); ?> <?php endif; ?></h2>
Statistics: Posted by gymvago — Wed Jan 03, 2024 11:54 pm