• Resolved beckswade

    (@beckswade)


    I keep coming back to this fantastic theme because of the customisation ability and the fantastic support.

    I have a query regarding a site I am currently building whihc can be viewed here: https://181.224.148.70/~health/articles/

    I love the fact I can feature articles and have set the featured image to width recommended Width: 1018px but I prefer to keep the height at either 300 / 350.

    However, when you then view the featured image on the post format the image cannot be seen and cuts off the graphic logo. I have tried playing around with moving the logo but can’t see to see a way to make the view right for both the slider and the post?

    is there anything I can do?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Silkalns

    (@silkalns)

    You need to keep the same aspect ratio for both images in slider and featured images.
    Since your slider images are 1018 by 352px then features images should be around 670 by 232px to get the same aspect ratio.

    Featured image size is defined like this via functions.php file

    add_image_size( 'featured', 670, 300, true );

    So you should change values like this

    add_image_size( 'featured', 670, 232, true );

    Now you should run regenerate thumbnail plugin since WordPress doesn’t automatically regenerate them for images that area already uploaded.

    Thread Starter beckswade

    (@beckswade)

    Perfect ?? thanks very much

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Featured images on slider vs article headers’ is closed to new replies.