Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #276232

    Hello,

    When i created a new blog post i have noticed that the big feature image is not shows as well ( it appears smaller than it should be with white spaces)
    for example: http://leverate.com/exposure-synchronization-between-mt4-and-lxrisk-for-a-book/

    How can i fix it?

    Thanks,

    #276237

    Hi Omer!

    Thank you for the update.

    You can edit functions.php, find this code on line 117:

    $avia_config['imgSize']['entry_with_sidebar'] 	= array('width'=>710, 'height'=>270);		                 // big images for blog and page entries
    

    Change the width and height attribute then set the crop parameter to false to prevent wp from cropping the featured image:

    $avia_config['imgSize']['entry_with_sidebar'] 	= array('width'=>1500 'height'=>540, 'crop'=> false);		                 // big images for blog and page entries
    

    Regenerate the thumbnails or upload it again.

    Cheers!
    Ismael

    #276253

    Hi Ismael,

    Thanks for your help. I cant find line 117. i opened wp-content/themes/enfold/functions.php

    Where is the exact location please?

    thanks,

    #276279

    Hey!

    Please copy the first line Ismael posted then go to Appearance > Editor and open Functions.php file and press CTRL+F on Windows and CMD+F on Mac and paste in search field – http://i.imgur.com/uqOu1s2.png

    Best regards,
    Yigit

    #277021

    Hey Yigit,

    I have changed the first line with second line in the “functions.php” file but when i refresh the website im getting an empty screen and cant access anything. Please advice

    Thanks,

    #277300

    Hey!

    There was a missing come in Ismael code, this should do it:

    $avia_config['imgSize']['entry_with_sidebar'] 	= array('width'=>1500, 'height'=>540, 'crop'=> false);		                 // big images for blog and page entries
    

    Best regards,
    Josue

    #277459

    Thanks!

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Blog post feature image’ is closed to new replies.