Is it possible to have the featured images in the blogs posts not beeing cropped and having this included:
class=”attachment”
That will make a border around the image.
Regards,
Mikael
Hey mikaelsv!
There are small and big featured images. What type of Blog are you using right now? Please check your settings on Enfold > General Settings > Blog Style. Post it here.
Regards,
Ismael
Big preview, single author
and this is what I want to be included in every featured (not cropped) blog image,
img.attachment, img.frame, .media {
padding: 7px;
background: #FFF;
display: block;
-moz-box-shadow: 0px 1px 2px -1px rgba(0, 0, 0, 0.3);
box-shadow: 0px 1px 2px -1px rgba(0, 0, 0, 0.3);
-webkit-box-shadow: 0px 1px 3px -1px rgba(0, 0, 0, 0.25);
}
.media iframe {
display: block;
}
Regards,
Mikael
Hey!
Yes this should be possible. Open up /wp-content/themes/enfold/includes/loop-index.php and replace
$current_post['slider'] = get_the_post_thumbnail($the_id, $size);
with
$current_post['slider'] = get_the_post_thumbnail($the_id, 'full', array('class' => "attachment"));
Cheers!
Peter
Thank you!