I refer to this previously posted topic: https://colorlibsupport.com/t/feature-image-to-show-only-a-part-of-it/
I’m a newbie with wordpress. I really like sparkling and will use it for my homepage. Thanks you colorlib for this theme.
My Problem: I managed to customize the theme by adding a child theme. Like theinformant, I’d like to reduce the height of the featured images (on the homepage and in single-post) to 275px (fixed and forced). The image should be centered and the (eventual) overflow on left and right side should be cut off/not showing.
I tried the provided code from above in my child theme’s CSS and edited it, but it didn’t work. Do I have to add something to functions.php, too? I’d be very thankful for advice, Aigars. Thank you in advance.