• Resolved myslivec1952

    (@myslivec1952)


    Good afternoon lads,

    I would like to seek your help with the topic of featured images, my problem with them is that they are always zoomed/croped into square(?) like in the photo on website: https://ctrlv.cz/7Wba

    I want to remove the crop and if it would have not been enough, i also would like some way to change these pictures dimensions, so i can make them “fit” next to article.

    My current version of template is Hestia version: 3.0.30

    I would appreciate any help with this matter <3
    Tony

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @myslivec1952,

    Thank you for using Hestia.

    You can try to redeclare the image size for the blog thumbnails by adding the following code, at the end of the functions.php file of your child theme.

    function rewrite_hestia_blog() { 
        add_image_size( 'hestia-blog', 360, 550 );
    }
    add_action( 'after_setup_theme', 'rewrite_hestia_blog' );

    A child theme for Hestia can be downloaded directly from this documentation.

    After adding the code and using the desired values for the image size, the thumbnails need to be regenerated with a dedicated plugin for these changes to apply to existing images.

    I hope this will help.

    AC

    (@purplecodes)

    Themeisle Support

    Hi @myslivec1952,

    It’s been a while since we have heard from you. We will now be closing this thread if the issue has already been resolved. Kindly open a new thread if you have other questions or concerns

    Hi, I have the same problem, I tried your code @stefancotitosu , copied to the end of the function.php of the Hestia child theme, but when I save it my site is no longer accessible.
    After deleting this code the site is working again.

    I need to change the resolution (aspect ratio) of the thumbnails of all my articles, but I can’t find a working solution.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Croped featured photos for posts’ is closed to new replies.