• Resolved rogierthe

    (@rogierthe)


    Hey guys,

    When you view my product page on Iphone 11 series, the add to cart button is not centered, thus I would like to change the position a bit with some padding / margin. I am new to CCS, However I have a difficult time finding the class for the add to cart module, i have been puzzeling without success. Below a part of the code I try to make

    thank you so much in advance!

    @media only screen and (min-width: 414px) and (max-width: 767px) {
    ADD TO CART CLASS?

    padding-right: 20px;
    }

    • This topic was modified 5 years, 5 months ago by rogierthe.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Rynald0s

    (@rynald0s)

    Automattic Happiness Engineer

    Hi @rogierthe!

    You can try:

    body.et-db #page-container #et-boc .et-l .et_pb_section .et_pb_wc_add_to_cart_1 .button

    Cheers!

    Rynald0s

    (@rynald0s)

    Automattic Happiness Engineer

    Howdy.

    We haven’t heard back from you in a while, so I’m going to go ahead and mark this thread as resolved. If you have any other questions please start a new thread.

    Cheers!

    Thread Starter rogierthe

    (@rogierthe)

    hey Rynald0’s

    I am so sorry for my late reply here, I missed the notification. I am trying to slightly move the add to cart button to the left for mobile devices. I am trying something like this:

    body.et-db #page-container #et-boc .et-l .et_pb_section .et_pb_wc_add_to_cart_1 .button
    {
    padding-right: 20px!important
    }

    However it doesn’t seem it work, do you have any ideas?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Need a little help finding CCS class’ is closed to new replies.