Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #374810

    Hi,

    Firstly, awesome theme – really, really great.

    There are three things I am trying to do but I’ll split them into 3 posts so they can be found more easily if they are solved.

    I found a post with the following code to change where the featured image is cropped from, but I can’t find it in the functions.php file. Is there a way to do this in a child theme functions.php?

    $avia_config['imgSize']['entry_with_sidebar'] 	= array('width'=>710, 'height'=>270, array(top, center));		                 // big images for blog and page entries
    $avia_config['imgSize']['entry_without_sidebar']= array('width'=>1030, 'height'=>360, array(top, center));						// images for fullsize pages and fullsize slider
    #375201

    Hey alanboyle5355!

    You can try using this plugin – https://wordpress.org/plugins/simple-image-sizes/
    You can find the code you posted in Functions.php file of your parent theme. After making changes, please use this plugin to regenerate thumbnails – https://wordpress.org/plugins/regenerate-thumbnails/

    Regards,
    Yigit

    #375715

    Ah yes, I was looking the enfold-functions.php by mistake.

    Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Featured image cropping’ is closed to new replies.