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

    Hello,

    I’ve tried some CSS fixes on my own, but my dilemma is related to the different ways the featured image assigned to a blog post is cropped in different places in the template. This matters more because, on my site, the featured image is primarily text-based, and in the “related posts” area at the bottom of single.php, some of the text is cropped out. Same goes for the featured image at the top of each single.php. It’s cropped in a fairly extreme landscape orientation, and text on the top and bottom is cut off.

    How can we set these dimensions ourselves?

    #761039

    Hey FZKFranziska,

    There is a way to customize the size of the images so to give you an example, on the functions.php file roughly line 93 you will find this code,

    $avia_config['imgSize']['featured'] 		 	= array('width'=>1500, 'height'=>430 );			
    $avia_config['imgSize']['featured_large'] 		= array('width'=>1500, 'height'=>630 );	

    In this way you can avoid having to do this by hand.

    Best regards,
    Jordan Shannon

    #761040

    Would it be possible to copy the whole function to the child theme functions.php, to avoid clashes when enfold updates?

    #761042

    Hi,

    Yes this can be done.

    Best regards,
    Jordan Shannon

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