[Resolved] WooCommerce main product photo opens in gallery

Home Forums Support [Resolved] WooCommerce main product photo opens in gallery

Home Forums Support WooCommerce main product photo opens in gallery

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #966112
    Phil

    Hi…

    I’m hoping you can point me in the right direction. I’m not real technical, but I manage to work my way around WordPress pretty well.

    On all my product pages that offer any product option, like color for example… they do not show the main photo larger. Instead, the main photo is small like the rest of the gallery photos. See this page:

    https://www.mailboxshoppe.com/product/floral-leaf-cast-mailbox/

    On product pages that have no option (just Add to Cart), the main photo is sized larger as it should. See this page:

    https://www.mailboxshoppe.com/product/antique-brass-column-mailbox/

    What is preventing the photo from opening to it’s full 600px size as designated in the Appearance > Customize > WooCommerce > Product Image.

    Any help you can offer would be greatly appreciated. This glitch makes my product pages look poorly designed.

    Lastly… if I re-load the page with only small images… the re-loaded page will then display the main product image full size.

    Help !

    #966443
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Something is setting the height of that element to 0px. It could be a plugin you’re using if you want to test that.

    You can overwrite it with something like this:

    .woocommerce-product-gallery .flex-viewport {
        height: auto !important;
    }
    #967033
    Phil

    Thank you Tom. You. Are. The. Man. ! That css code worked perfectly. Thanks again…

    #967148
    Tom
    Lead Developer
    Lead Developer

    You’re welcome 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.