Change Font size of add to cart button - by tumoneygram@gmail.com

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

  • Avatar: tumoneygram@gmail.com
    tumoneygram@gmail.com
    Participant
    December 15, 2020 at 14:09

    I would like to Change Font size of add to cart button in product loop in Tablet/Ipad version. Thank you

    4 Answers
    Avatar: tumoneygram@gmail.com
    tumoneygram@gmail.com
    Participant
    December 15, 2020 at 14:17

    Url in private content

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    December 15, 2020 at 16:31

    Hello,

    Add the next code in Theme Options > Theme custom CSS > Global custom CSS:

    @media only screen and (max-width: 992px) {
        .products-loop .add_to_cart_button,
        .products-slider .add_to_cart_button {
            font-size: 0.75em;
        }
    }

    Regards

    Avatar: tumoneygram@gmail.com
    tumoneygram@gmail.com
    Participant
    December 16, 2020 at 12:13

    Hi Rose.

    Thank you very much. I don’t know why this code is not working when my iPad is displayed horizontally. Just works when the iPad is vertically or in mobile version. Thanks

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    December 16, 2020 at 16:03

    Hello,

    Replace the previous code with the code below

    @media only screen and (max-width: 1024px) {
        .products-loop .add_to_cart_button,
        .products-slider .add_to_cart_button {
            font-size: 0.75em;
            padding: .91rem 1.2rem;
        }
    }

    Regards

  • Viewing 5 results - 1 through 5 (of 5 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.