diff --git a/plugins/system/helixultimate/overrides/layouts/joomla/content/intro_image.php b/plugins/system/helixultimate/overrides/layouts/joomla/content/intro_image.php index eb291d4f..abd36918 100644 --- a/plugins/system/helixultimate/overrides/layouts/joomla/content/intro_image.php +++ b/plugins/system/helixultimate/overrides/layouts/joomla/content/intro_image.php @@ -96,12 +96,24 @@ $layoutAttr['title'] = htmlspecialchars($images->image_intro_caption); } echo LayoutHelper::render('joomla.html.image', array_merge($layoutAttr, ['itemprop' => 'thumbnailUrl'])); + // Image Caption + if (isset($images->image_fulltext_caption) && $images->image_fulltext_caption !== '') + { ?> +
escape($images->image_fulltext_caption); ?>
+ image_intro_caption) : ?> image_intro_caption) . '"'; ?> src="image_intro, ENT_COMPAT, 'UTF-8'); ?>" alt="image_intro_alt, ENT_COMPAT, 'UTF-8'); ?>"> image_fulltext_caption) && $images->image_fulltext_caption !== '') + { ?> +
escape($images->image_fulltext_caption); ?>
+ @@ -119,12 +131,24 @@ $layoutAttr['title'] = htmlspecialchars($images->image_intro_caption, ENT_COMPAT, 'UTF-8'); } echo LayoutHelper::render('joomla.html.image', array_merge($layoutAttr, ['itemprop' => 'thumbnailUrl'])); + // Image Caption + if (isset($images->image_fulltext_caption) && $images->image_fulltext_caption !== '') + { ?> +
escape($images->image_fulltext_caption); ?>
+ image_intro_caption) : ?> image_intro_caption, ENT_COMPAT, 'UTF-8') . '"'; ?> src="image_intro, ENT_COMPAT, 'UTF-8'); ?>" alt="image_intro_alt, ENT_COMPAT, 'UTF-8'); ?>"> image_fulltext_caption) && $images->image_fulltext_caption !== '') + { ?> +
escape($images->image_fulltext_caption); ?>
+ diff --git a/templates/shaper_helixultimate/scss/theme.scss b/templates/shaper_helixultimate/scss/theme.scss index 8c910039..5182facb 100755 --- a/templates/shaper_helixultimate/scss/theme.scss +++ b/templates/shaper_helixultimate/scss/theme.scss @@ -1135,6 +1135,13 @@ body.view-article.remove-container { } } } + + figcaption.caption { + text-align: center; + font-size: 14px; + margin: 5px 0px; + opacity: .7; + } } } @@ -1251,6 +1258,12 @@ body.view-article.remove-container { font-size: 14px; } } + + figcaption.caption { + font-size: 14px; + margin: 5px 0px; + opacity: 0.7; + } } .related-article-list-container { margin-top: 15px;