Custom width and height for "related items"

Home Forums Jevelin Theme Custom width and height for "related items"

Home Forums Jevelin Theme Custom width and height for "related items"

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Johan Andersson
    Participant

    I’m trying to find a way to have custom height (and width) for my related items-section in my portfolio. Right now every image automatically changes to 278 x 177px and cropping parts of my images. Is there any way to change this without stretching the image?

    Hi Johan,

     

    I hope you are well today and thank you for your question.

     

    You can achieve this by overwriting the theme file/jevelin/framework-customizations/extensions/portfolio/views/single.php in the Jevelin child theme and change the related posts image size ‘post-thumbnail’ on line number 513 in that file.

     

    Best regards,
    Shufflehound team

    blurp
    Participant

    I’m a beginner in coding.. if I put my site online could you modify it for me?

    I will try my best to help you so please share me your site URL.

Viewing 4 posts - 1 through 4 (of 4 total)