• Resolved Howbayou

    (@howbayou)


    Hi, I read the post about changing the Thumbnails to a square. I would like a circle. I found where to change the size.
    /***************/
    set_post_thumbnail_size( 340, 220, true );

    // Featured Post Main Thumbnail on the front page & single page template
    add_image_size( ‘oncanvas-large-thumbnail’, 220, 220, true );
    add_image_size( ‘oncanvas-featured-thumbnail-large’, 550, 330, true );
    add_image_size( ‘oncanvas-featured-thumbnail-small’, 255, 150, true );
    /*************/
    I think I need to add a border-radius to achieve the circle effect and maybe overflow- hidden. Is it possible to add that here? Or should I add custom CSS? I’ve also downloaded to Regenerate Thumbnails so my changes are taking effect.

    • This topic was modified 8 years, 10 months ago by Howbayou.
Viewing 1 replies (of 1 total)
  • Theme Author Dumitru Brinzan

    (@ilovewpcom)

    Hi,

    If you want your thumbnails to be displayed like a circle, then you need to customize them via CSS (with border-radius).
    Functions.php has nothing to do with this.

Viewing 1 replies (of 1 total)

The topic ‘Thumbnails in circle’ is closed to new replies.