Square images - by zurli - on WordPress WooCommerce support

This topic has 6 replies, 2 voices, and was last updated 8 years, 5 months ago ago by Jack Richardson

  • Avatar: zurli
    zurli
    Participant
    May 27, 2016 at 16:04

    Hi Guys,

    I need to have square images all around the web site so, in:

    there is some CSS that can do that (along with woocommerce image resizing options) or a child theme feature ?

    Appreciate your help

    Thanks !

    5 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    May 27, 2016 at 16:57

    Hello,

    You can change images sizes in Woocommerce > Settings > Products > Display. Then regenerate thumbnails http://wordpress.org/plugins/regenerate-thumbnails/ .

    Best regards,
    Jack Richardson.

    Avatar: zurli
    zurli
    Participant
    June 8, 2016 at 09:50

    Hi Jack,

    I tried but that didn’t worked.

    Can you help with the CSS ?

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    June 8, 2016 at 11:40

    Hello,

    Try to use this code in Theme Options > Custom CSS > Custom CSS for desktop:

    .product-content-image img {
       height: 260px;
    }
    .sxy-zoom-container img, .product-images-slider, .owl-carousel .owl-item {
        height: 400px !important;
    }

    Best regards,
    Jack Richardson.

    Avatar: zurli
    zurli
    Participant
    June 8, 2016 at 14:06

    Hi Jack !
    Super … it was excatly what I needed.

    Can you also help me with the mobile portrait CSS rules ?

    Thanks again !

    Fabio

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    June 8, 2016 at 16:09

    Hello,

    Please use this code in Custom CSS for mobile section:

    .product-content-image img {
       height: 300px;
    }
    .owl-carousel .owl-wrapper-outer, .product-images-slider {
        height: 400px !important;
    }
    #product-pager {
      height: 120px;
    }

    Best regards,
    Jack Richardson.

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.