Hi,
What is the best way to make the blog-categories minor-meta appear on the featured image. On both single blog style and single of multiple authors blog style
.blog-categories minor-meta
Thank you,
D.
Hi dhuet!
Thank you for using Enfold.
You can modify the includes > loop-index.php file. Look for this code:
//echo preview image
if(strpos($blog_style, 'big') !== false)
{
if($slider) $slider = '<a href="'.$link.'" title="'.$featured_img_desc.'">'.$slider.'</a>';
if($slider) echo '<div class="big-preview '.$blog_style.'">'.$slider.'</div>';
}
Below, add something like this:
echo '<span class="blog-categories minor-slider-meta">';
echo $cats;
echo '</span>';
Use ths in the Quick CSS field to adjust the position of the categories:
span.blog-categories.minor-slider-meta {
top: -50px;
position: relative;
z-index: 1000;
font-size: 40px;
left: 20px;
}
Note that this is only going to work if all posts are set to standard format.
Best regards,
Ismael
Thank you. I’ll try that.
Hey!
Great, please let us know if you should need any more help on the topic.
Best regards,
Rikard
No, thanks.