Hi:
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.
Thanks,
Lou
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>
Is there a way to make all thumbnails on the homepage of DW Focus the same size/dimensions?
Please send me a screenshot for further checking and you can provide your site URL
I still wonder if this is possible to make the homepage thumbnails exactly the same and uniform.
At the moment, you can make the homepage thumbnails exactly the same and uniform from the Dashboard > Settings > Media > Thumbnail size.
Or use the CSS code to edit the image size. However, you should let me know all the position that you want to change, you can send me the site URL and I will help you check to resolve this issue.
Please login or Register to submit your answer