WordPress twenty fifteen theme

How can I change the size of the cover picture (the thumbnail I’ve attached) automatically resize and fit in the twenty fifteen theme?
I want to change the dimensions of the cover image container and change it to a square cover rather than the default rectangular, but I can’t seem to find it.
The website address: http://www.filsoof.me

Related posts

Leave a Reply

2 comments

  1. At the end of your theme’s css file add:

    .post-thumbnail {
       width:/*width here*/ !important;
       height:/*height here*/ !important;
     }
    

    Replacing the width here and height here comments with the desired width and height be sure to remove the *s and the /s

  2. I had the same problem before, and I changed it via the wordpress function “set_post_thumbnail_size”

    The usage is the follow:

     <?php set_post_thumbnail_size( $width, $height, $crop ); ?> 
    

    You can find all info here