[Resolved] woocommerce product gallery vertical

Home Forums Support [Resolved] woocommerce product gallery vertical

Home Forums Support woocommerce product gallery vertical

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #887124
    chete

    Hello,

    It is possible with GP + Woo to put the gallery of the product in vertical to the left of the featured image ?

    Regards

    #887137
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Something like this might help:

    .woocommerce-product-gallery {
        display: flex;
    }
    
    .woocommerce-product-gallery .flex-control-thumbs {
        order: -10;
    }
    
    .woocommerce div.product div.images .flex-control-thumbs li {
        width: 100%;
        padding-top: 0;
        padding-bottom: 5px;
    }

    Depending on your browser compatibility needs, you may want to run that code through this tool: https://autoprefixer.github.io/

    #887385
    chete

    Hi Tom
    Ok thanks, works well
    Regards

    #888039
    Tom
    Lead Developer
    Lead Developer

    You’re welcome ๐Ÿ™‚

    #923530
    Sam

    Hi, this is an awesome little trick. Is there any way of changing the size of the thumbnails as they are quite small? I tried changing the size of the containing div but it didn’t seem to work very well.

    Thanks
    Sam

    #923546
    Leo
    Staff
    Customer Support

    Does this help?
    https://iconicwp.com/blog/manage-woocommerce-product-image-sizes-3-3/

    If not any chance you can open a new topic?

    Thanks ๐Ÿ™‚

    #923554
    Sam

    Hi Leo, I am not sure why it makes sense to start a new topic as it relates directly to this thread? I used the code above provided by Tom to move the gallery thumbs for the product page to the left of the main picture. I now would like to resize those thumbs as the code Tom provided makes them smaller than before. Does that make sense?

    thanks
    Sam

    #923557
    Leo
    Staff
    Customer Support

    Have you tried the options in the customizer as suggested in the linked article?

    The thumbnail size is actually controlled by WooCommerce itself with those options in the customizer.

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