Categories pictures do not aling - by HmirceaD

This topic has 3 replies, 2 voices, and was last updated 4 years, 7 months ago ago by HmirceaD

  • Avatar: HmirceaD
    HmirceaD
    Participant
    April 27, 2021 at 16:41

    Hello guys,

    The categories and subcategories (and their names and number of products) on my catalog page do not align which each other. I attached a screenshot.

    https://imgur.com/a/cd8zOFF

    Can you provide me with a snippet of CSS code so that the images align with each other, and so the names and number of products?

    I also provided wp dashboard credentials in case you need it.

    Thank you in advance.

    Please, contact administrator
    for this information.
    2 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    April 27, 2021 at 18:04

    Hello,

    I added the below custom to child theme style.css to align categories.

    .category-grid img {
        width: auto;
        max-height: 200px;
    }
    .category-grid a {
        min-height: 200px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    Check now.

    Regards

    Avatar: HmirceaD
    HmirceaD
    Participant
    April 27, 2021 at 20:15

    It works, thank you very much Olga!

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

The issue related to '‘Categories pictures do not aling’' has been successfully resolved, and the topic is now closed for further responses

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