• Hello, and thank you for your theme !
    Please forgive my bad english (i’m french), and my newbieness…

    I have a problem with the featured image of my post and pages. If the width of the original image is bigger than 600-700px, it appears cropped on the website : the height becomes 300px. I don’t find anything in the CSS : it seems to be set on the image itself. For instance, an original image of 1671 × 939, in the code inspector, appears as :

    https://www.fide.underthedeepdeepsea.com/wp-content/uploads/2016/01/FILM_pigeon2-900×300.jpg”

    Something must “order” to crop the image when it’s to big. Would you know where I can change that ?

    Thanks a lot, have a nice day !
    Tom

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter TB54

    (@tb54)

    Update – My mistake : it seems that the image is cropped whathever its original size (it’s always cropped to 300px of height).

    Thread Starter TB54

    (@tb54)

    Resolved, if someone is interested. In function.php, line 56, change the

    add_image_size( 'blog-header', 900, 300, array('center','center'));

    into

    add_image_size( 'blog-header', 900, false);

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Featured Images are cropped’ is closed to new replies.