Support » Plugin: WooCommerce » Product Gallery Images too big after update

  • Hello

    After a recent major WooCommerce-Update, the gallery image of a product suddenly are displayed the same size as the main product image. Before, they where half the size and grouped themselves neatly under the main product image.

    I tried to fix this with CSS classes, but all the images, main product and gallery, have exactly the same css classes and html structure.

    How can I get the gallery images small again?

    Here is an example of how it should not look, the gallery images are way too big and just extend downwards instead of grouping horizontally:
    https://www.dronefactory.ch/produkt/frsky-vantac-q100-rot/

    Thanks for your help!
    Best Regards,
    Chris

Viewing 5 replies - 1 through 5 (of 5 total)
  • To exclude the first one in an otherwise identical list of classes, use:

    .woocommerce-product-gallery__image:not(:first-child) img {
      width:90px;
      margin:5px;
    }
    

    It may not work for older browsers.

    I too am having this issue. The solution from @lorro fixed the size issue but they still extend vertically. It is not utilizing the new gallery functions of Woocommerce 3.0 and I’m using the most recent version of Canvas which they say is compatible.

    • This reply was modified 1 year, 12 months ago by  jacobspaulsen.

    @jacobspaulsen
    Please post a link to a relevant page.

    I resolved the issue. In my case it was related to a setting in my cache plugin (WP Rocket) that was using JS minification. I turned it off and issue resolved.

    Hello! I have a problem with a Picture of a single product on my web site http://elektricno-orodje.si/izdelek/makita-ddf481z-akumulatorski-vrtalnik-vijacnik/. I do not know how to fix it. I tried different things but nothing work. Can you please help me to fix this. is it possible that it is a new version of Woocommerce that did this problem.

    Thank you a lot.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Product Gallery Images too big after update’ is closed to new replies.