We like the enfold theme very much. However, we have one major issue: How can we change the height of the big preview image to 100% of the original image? We can’t force the height using css since the theme creates a smaller thumbnail image. Actually, the original size of the image would be just fine. We don’t need the lightbox and set pointer-events to none.
Any suggestions?
derx
Hey derx,
Try the following:
1. Install this plugin: https://wordpress.org/plugins/simple-image-sizes/
2. Go to Settings > Media
3. Change the entry_without_sidebar
image size (increase its width / height).
4. Regenerate the thumbnails by clicking the button at the bottom.
Best regards,
Yigit
You could try something like this:
function custom_blog_img_size($thumb,$current_post,$size) {
return get_the_post_thumbnail($current_post["the_id"], 'large');
}
add_filter('avf_post_featured_image_link','custom_blog_img_size', 10, 3);