WordPress.org

Ready to get started?Download WordPress

Forums

Spun
[resolved] What if i dont want to resize the image in the circle (3 posts)

  1. hdlarsson
    Member
    Posted 1 year ago #

    Hi,
    I really like this theme and I have started modifying it to fit my content better but I can´t seem to find how to keep the aspect ratio of the images.

    I understand that all of the picture won´t show and I am fine with that. Please advice!

    Thanks,
    Henrik

  2. Caroline Moore
    Member
    Theme Author

    Posted 1 year ago #

    You may need to use a plugin like Regenerate Thumbnails to change existing post thumbnails to the theme's new sizes.

    You can also change the thumbnail size and crop settings within set_post_thumbnail_size in a child theme:

    function my_new_thumbnails() {
       set_post_thumbnail_size( 260, 260, false );
    }
    add_action( 'after_setup_theme', 'my_new_thumbnails' );
  3. hdlarsson
    Member
    Posted 1 year ago #

    Ok, thanks a lot! I never thought about the thumbnails being pre-generated.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.