Is there a CSS Code I can use to resize the featured image that appears in the post.
The featured images are VERY large and I’d like to cut them down to about 1/2 current size.
You can add the following code to the functions.php file:
add_image_size( 'custom-size-single', 220, 180, true );
Then open the conten-single.php file and find the following code:
<div class="entry-thumbnail"><?php the_post_thumbnail(); ?></div>
Replace with the following code:
<div class="entry-thumbnail"><?php the_post_thumbnail('custom-size-single'); ?></div>
Please login or Register to submit your answer