Main blog image

Home Forums Jevelin Theme Main blog image

Home Forums Jevelin Theme Main blog image

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    RESOLVED Posts
  • Cakelab
    Participant

    Hi again,

     

    It’s a long shot but I thought I’d ask anyway. The main images shown in the blog and the blog posts have a different ratio from the images I upload to wordpress, which is: 1024 x 769

     

    And so, the image looks cropped above and below. Is there a way to change the ratio of the images shown in the blog to the ratio mentioned above?

     

    URL: https://cake-lab.org/%D7%91%D7%9C%D7%95%D7%92/

    Attachments:
    You must be logged in to view attached files.

    Solution for this topic

    Hi @Cakelab,

     

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

     

    You can change its size using a custom plugin solution shared in the below topic.

     

    https://support.shufflehound.com/forums/topic/thumbnail-size-for-blog-post/#post-38167

     

    Best regards,
    Shufflehound team

    Cakelab
    Participant

    Oh nice, thanks!

    Cakelab
    Participant

    Ok, so I tried it and it didn’t work. I added the custom plugin to functions.php and changed it to the desired featured image size:

    function custom_jevelin_general_setup(){
    set_post_thumbnail_size( 660, 496, true );
    add_image_size( ‘jevelin-portrait’, 496, 660, true );
    add_image_size( ‘jevelin-square’, 660, 660, true );
    add_image_size( ‘jevelin-landscape-large’, 1200, 675, true );
    }
    add_action( ‘init’, ‘custom_jevelin_general_setup’, 999 );

     

    I uploaded a new image, I regenerated the thumbnails too, but nothing helped. The main image still looks cropped as seen in the attached file.

    Attachments:
    You must be logged in to view attached files.

    Cakelab
    Participant

    Oh, here’s the URL too:

     

    https://cake-lab.org/uncategorized/test/

    Solution for this topic

    Which code have you changed in the above shared custom plugin?

     

    Please change the values 1200, 675 to 9999,9999 in the above code and make sure that the custom plugin is active on your site.

     

    Then regenerate the thumbnails using the regenerate thumbnails plugin.

    Cakelab
    Participant

    Thanks!

    As always, your solutions help like magic 🙂

    You are always welcome here 🙂

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

Popular choice

Professional Developers At Your Fingertips!

If you need services beyond standard support, we've got your back!

Services we offer:

Demo setup
Advanced customization
Layout adjustment
Graphic work / visualizations
Custom coding
Full WordPress development and design

Services

What we can offer

  • Demo setup +

    If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.

  • Layout adjustment +

    We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.

  • Advanced customization +

    More complex styling changes, theme option modifications, and third-party integrations.

  • Custom coding +

    If you need something that's not included in the theme, we can code it for you.

  • Graphic work / visualizations +

    Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.

  • Full WordPress development and design +

    Full website builds, custom theme development, or plugin creation from scratch.

  • About pricing +

    We'll provide a clear quote based on what you need. No hidden fees.

Professional Developers At Your Fingertips!

Custom Work Form