Title: Image height
Last modified: December 28, 2019

---

# Image height

 *  Resolved [yud111](https://wordpress.org/support/users/yud111/)
 * (@yud111)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/image-height-6/)
 * Hi,
 * Since upgrading WP to 5.3 the height of the slider images has changed and images
   are now cropped.
 * I used to have this code in Additional CSS and it used to work:
    `.recent-post-
   slider.design-2 .post-image-bg{height: 480px;}`
 * I also tried this:
 *     ```
       .recent-post-slider .post-image-bg img {
           height: auto !important;
           width: 100% !important;
           object-fit: unset !important;
          }
       ```
   
 * but images are still being cropped.
 * How can I adjust the height of the images?
 * Thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fimage-height-6%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [anoopranawat](https://wordpress.org/support/users/anoopranawat/)
 * (@anoopranawat)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/image-height-6/#post-12276569)
 * Hello,
 * We have added a unique prefix to all css classes in the plugin to avoid the conflict
   with theme or any third party plugin.
 * Can you please check respectively css on the plugin css file and update your 
   css according?
 * Please let me know if you face any issue. I am here to help you will all your
   questions:)
 *  Thread Starter [yud111](https://wordpress.org/support/users/yud111/)
 * (@yud111)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/image-height-6/#post-12276645)
 * Thank you for your reply.
 * > Can you please check respectively css on the plugin css file and update your
   > css according?
 * I’m a bit new to CSS, can you please let me know what I need to do here?
 * Thanks!
 *  [anoopranawat](https://wordpress.org/support/users/anoopranawat/)
 * (@anoopranawat)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/image-height-6/#post-12278408)
 * Hello,
 * We have added new prefix `wppsac-` to all css classes.
 * So you can try following css:
 * `.wppsac-post-slider.design-2 .wppsac-post-image-bg{height: 480px;}`
 * I also tried this:
 *     ```
       .wppsac-post-slider .wppsac-post-image-bg img {
           height: auto !important;
           width: 100% !important;
           object-fit: unset !important;
          }
       ```
   
 *  Thread Starter [yud111](https://wordpress.org/support/users/yud111/)
 * (@yud111)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/image-height-6/#post-12278550)
 * Thank you! This fixed it.
    Appreciate your help.
 *  [anoopranawat](https://wordpress.org/support/users/anoopranawat/)
 * (@anoopranawat)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/image-height-6/#post-12278557)
 * Hello [@yud111](https://wordpress.org/support/users/yud111/)
 * Please share your review and rating if you like our plugin and support 🙂
 *  Thread Starter [yud111](https://wordpress.org/support/users/yud111/)
 * (@yud111)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/image-height-6/#post-12278697)
 * > Please share your review and rating if you like our plugin and support 🙂
 * will do!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Image height’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-responsive-recent-post-slider_9c9a9b.
   svg)
 * [WP Responsive Recent Post Slider/Carousel](https://wordpress.org/plugins/wp-responsive-recent-post-slider/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-responsive-recent-post-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-responsive-recent-post-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-responsive-recent-post-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-responsive-recent-post-slider/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [yud111](https://wordpress.org/support/users/yud111/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/image-height-6/#post-12278697)
 * Status: resolved