Fixed height for the generated thumbnails

This topic has 6 replies, 2 voices, and was last updated 9 years, 10 months ago ago by Eva Kemp

  • Avatar: proadax
    proadax
    Participant
    January 18, 2015 at 16:51

    hello,
    how to set a fixed height for the generated images, so that they are the same height in one line.
    http://prntscr.com/5u0309
    http://vinci.proadax.kylos.pl/portfolio/grojec/

    A similar situation http://prntscr.com/5u03rq
    http://vinci.proadax.kylos.pl/projects/

    http://prntscr.com/5u04ep
    http://vinci.proadax.kylos.pl/

    Please help.
    Regards

    5 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    January 19, 2015 at 09:47

    Hello,

    Please add this code in custom.css file:
    .post-news img, img {
    height: 200px;
    }

    Concerning your 3rd query, images height can’t be changed via custom.css as this is essential grid plugin settings. You need check them.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: proadax
    proadax
    Participant
    January 19, 2015 at 14:46

    hello,
    well I set, it is ok in miniatures entries.

    The second thing is the thumbnails in the gallery of the product.
    When we add the image vertically terribly http://prntscr.com/5udg8r gallery http://prntscr.com/5udglo dilapidation.
    How to avoid this? http://vinci.proadax.kylos.pl/katalog/minisweet/minisweet-0102/

    I care that the thumbnails were generated by the same height, as here http://vinci.proadax.kylos.pl/katalog/minisweet/minisweet-0103/.
    Please help.
    Regards

    Avatar: Eva
    Eva Kemp
    Support staff
    January 19, 2015 at 15:42

    Hello,

    All your original images should be the same dimensions.
    So please upload the images with similar sizes.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: proadax
    proadax
    Participant
    January 19, 2015 at 16:05

    hello,
    there is no way to cut the HR images to a fixed size? Or compress them?
    I greet

    Avatar: Eva
    Eva Kemp
    Support staff
    January 19, 2015 at 17:21

    Hello,

    Please take our apologies but image dimensions can’t be changed on a single product page in theme options as they can be distorted. It can be edited only in the theme files royal/woocommerce/single-product/product-image.php and royal/woocommerce/single-product/product-thumbnails.php. Also changes in custom.css need to be made.

    Thank you.
    Regards,
    Eva Kemp.

  • 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.