• Hello everyone,

    I am trying to find a way to reduce the minimum height of the size of Featured category shown in main page. I have been trying with this code but it doesn’t change anything, would you know how I could reduce the size ?

    .wc-block-featured-category {
    min-height: 300px;
    }

    Thank you very much for your help !

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author YITHEMES

    (@yithemes)

    Hi there,
    if you want to reduce the image height,
    you have to use max-heignt, not min-height.

    Anyway image size used is the same of product images. You can edit it from
    Dashboard > Appearance > Customize > WooCommerce > Product images > Thumbnail width

    The height is automatically calculated from aspect ratio you select on same panel.

    If you want to proceed via CSS only… you can try this one:

    li.product-category img {
    max-height: 300px;
    width: auto !important;
    margin: 0 auto;
    }

    Please change 300px with the desidered image size

    Thread Starter abcard

    (@abcard)

    Hello,

    Thank you very much for your answer, sorry about the min-height..

    I don’t want to change the product image, I just want to change the height of the category image (featured category) in my front page https://www.massage.sabaidee-massage.fr that look very high.

    I have tried the css code but it doesn’t change anything.

    Thank you for your support,

    best regards,

    Anthony BOURRE.

    Theme Author YITHEMES

    (@yithemes)

    Hi again,
    sorry but the provided URL is not working

    Thread Starter abcard

    (@abcard)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Size of Category image’ is closed to new replies.