• Resolved alexterchum

    (@alexterchum)


    Theme: ZBlackbeard
    I’ve been using the plugin to allow external image for Woocommerce,
    but I found the photos would be cropped in a weird look.
    (For example the photo is 3:2 ratio but it turns out something like 2:3)
    Is that possible to use CSS to make it smaller in content of product page and /shop thumbnail? Thanks

    https://ww.wp.xz.cn/plugins/external-featured-image/

Viewing 1 replies (of 1 total)
  • Plugin Author David Aguilera

    (@davilera)

    Hi!

    Yes, it’s possible. Just take a look at the classes the body tag has in each case. For instance, the shop page has the classes archive and post-type-archive-product, among others. The single product page, on the other hand, has the following classes: single and single-product. Using these classes, you can define the specific sizes you want in each case:

    body.single.single-product img.nelioefi {
      width: 600px!important;
      height: 400px!important;
    }
    
    body.archive.post-type-archive-product img.nelioefi {
      width: 300px!important;
      height: 200px!important;
    }

    And so on. I hope this helps!

    Please, don’t forget to rate and/or comment on our plugin, if you haven’t done it already 😉

Viewing 1 replies (of 1 total)

The topic ‘Woocommerece thumbnail’ is closed to new replies.