Isabella Losada
asked 5 years ago

how can I resize a featured image (make it smaller)?

2 Answers
DominicStaff
answered 5 years ago

Please let me know the position that you want to change the image size and the size that you want to use. 

ilosada
answered 5 years ago

So thi is the website I’m working on: https://whartonjournal.wpcomstaging.com/
the image sizes I want to change are the ones for featured images in the posts, since as you can see when they appear on the gallery in the home page part of it gets cropped out ( as well as the title and the excerpt). 
is there a way to adjust so that the image fits the gallery “square” and the post’s title and excerpt don’t get cropped out?
Thank you!! 

Dominic Staff
replied 5 years ago

You can add the following code to the style.css file:
.dw_focus_widget_news_slider .carousel-inner img, .widget_news-slider .carousel-inner img { height: 400px; object-fit: cover; }

ilosada
replied 5 years ago

thank you so much!! 🙂

Dominic Staff
replied 5 years ago

If you have any issue or question, you can let me know we will help you resolve it.

Dominic Staff
replied 5 years ago

If you have any issue or question, you can let me know. We will check and help you resolve it.

Powered by DW Question & Answer Pro