Title: Style image size
Last modified: May 21, 2018

---

# Style image size

 *  Resolved [sitesuccess](https://wordpress.org/support/users/sitesuccess/)
 * (@sitesuccess)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/style-image-size/)
 * Hi,
 * Is there a way to style shortcode output with css (mainly image size)?
 * Thanks

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

 *  Plugin Contributor [Vagelis](https://wordpress.org/support/users/eboxnet/)
 * (@eboxnet)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/style-image-size/#post-10303839)
 * Hello,
    you can change shortcode’s image size like this
 *     ```
       .woo-related-products-container.woo-related-shortcode img {
           /* you can apply any rule you like here */
           width: 60%;
   
       }
       ```
   
 *  Thread Starter [sitesuccess](https://wordpress.org/support/users/sitesuccess/)
 * (@sitesuccess)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/style-image-size/#post-10303865)
 * Thanks
 * I set it with % or px (height and width) but still every image is in different
   size
 *  Plugin Contributor [Vagelis](https://wordpress.org/support/users/eboxnet/)
 * (@eboxnet)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/style-image-size/#post-10303876)
 * If you set height and width all images should be the same (may look weird but
   will be the same) if it doesn’t work try to use !important.
 * If you give me your website URL I can have a look.
 *  Thread Starter [sitesuccess](https://wordpress.org/support/users/sitesuccess/)
 * (@sitesuccess)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/style-image-size/#post-10306737)
 * Thanks.
 * Tried again and it’s not working. Maybe it’s because I’m using Elementor as my
   editor?
    Anyways, you can see an example here: [https://smallbizclub.co.il/product/%D7%90%D7%99%D7%9A-%D7%9C%D7%94%D7%A4%D7%95%D7%9A-%D7%90%D7%AA-%D7%94%D7%90%D7%AA%D7%A8-%D7%A9%D7%9C%D7%9A-%D7%9C%D7%A0%D7%9B%D7%A1-%D7%9E%D7%A0%D7%99%D7%91-%D7%A9%D7%9C-%D7%9C%D7%A7%D7%95%D7%97%D7%95%D7%AA-%D7%A8%D7%95%D7%AA%D7%97%D7%99%D7%9D-%D7%91%D7%A2%D7%96%D7%A8%D7%AA-%D7%9B%D7%AA%D7%99%D7%91%D7%94/](https://smallbizclub.co.il/product/%D7%90%D7%99%D7%9A-%D7%9C%D7%94%D7%A4%D7%95%D7%9A-%D7%90%D7%AA-%D7%94%D7%90%D7%AA%D7%A8-%D7%A9%D7%9C%D7%9A-%D7%9C%D7%A0%D7%9B%D7%A1-%D7%9E%D7%A0%D7%99%D7%91-%D7%A9%D7%9C-%D7%9C%D7%A7%D7%95%D7%97%D7%95%D7%AA-%D7%A8%D7%95%D7%AA%D7%97%D7%99%D7%9D-%D7%91%D7%A2%D7%96%D7%A8%D7%AA-%D7%9B%D7%AA%D7%99%D7%91%D7%94/)
 * It’s located close to the bottom of page. You may need to refresh a few times
   to see the non-sized images
 *  Plugin Contributor [Vagelis](https://wordpress.org/support/users/eboxnet/)
 * (@eboxnet)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/style-image-size/#post-10307184)
 * Morning, I can see it now.
 * you can use something like that
 *     ```
       .woo-related-products-container img {
           min-height: 260px;
       }
       ```
   
 * The best possible solution would be to regenerate your thumbnails using bigger
   image dimensions or use bigger images but the rule above will fix your problem.

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

The topic ‘Style image size’ is closed to new replies.

 * ![](https://ps.w.org/woo-related-products-refresh-on-reload/assets/icon-256x256.
   png?rev=1531812)
 * [Related Products for WooCommerce](https://wordpress.org/plugins/woo-related-products-refresh-on-reload/)
 * [Support Threads](https://wordpress.org/support/plugin/woo-related-products-refresh-on-reload/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-related-products-refresh-on-reload/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-related-products-refresh-on-reload/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-related-products-refresh-on-reload/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Vagelis](https://wordpress.org/support/users/eboxnet/)
 * Last activity: [7 years, 12 months ago](https://wordpress.org/support/topic/style-image-size/#post-10307184)
 * Status: resolved