Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #847121

    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

    #847763

    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

    #1260318

    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);
    #1260454

    Hi,

    Thanks for helping out @jaripp :-)

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.