Add to cart alignment - by yalla store - on WordPress WooCommerce support

This topic has 4 replies, 2 voices, and was last updated 5 years, 1 months ago ago by Olga Barlow

  • Avatar: yalla_store
    yalla store
    Participant
    November 5, 2019 at 11:43

    hello dear friends
    i wonder if there a code to make the add to cart buttons in one level

    https://prnt.sc/pso8v9

    i recently used the code to disable the review from appearing but the issue still .

    i wonder if there some code to make the products show the add to cart buttons in one level even if the text or photo size or review stars appeared .

    thanks
    best regards

    3 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    November 5, 2019 at 12:52

    Hello,

    Point is that product title has a different number of lines (from 1 to 3). To may try to set the fixed min-height for the product title in child theme style.css but then you will get a small gap for products with 1 line of the title. But if this is ok then you can try this solution

    .content-product .product-title {
        line-height: 2.5ex;
        min-height: 5ex;
    }

    Regards

    Avatar: yalla_store
    yalla store
    Participant
    November 5, 2019 at 13:18

    done
    thanks

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    November 5, 2019 at 17:13

    Hello,

    You are welcome.

    Regards

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

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

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