• Resolved Andreas

    (@stylingagenten)


    Hi! When I am,on product page the +sign is not aligned with the add to cart buttom.

    If I use this CSS:

    .woocommerce div.product form.cart .button.single_add_to_cart_button {

    margin-left: 0px !important;

    }

    It is then aligned on desktop, but not on mobile. Please help what code I can use. I use Shoptimizer theme and elementor.

    Here is link to pictures without adding any css code

    https://ibb.co/BNGk6qh
    https://ibb.co/Xbzpq3s

    Thanks!

    • This topic was modified 10 months, 1 week ago by Andreas.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Md. Ibrahim Khalil

    (@mdibrahimk48)

    Hello Andreas,

    Use this code:
    ajax_add_to_cart.add_to_cart_button, .single-product div.product form.cart .button {
    position: relative;
    margin-left: 0px !important;
    width: 200px !important;
    height: 45px !important;
    }


    Best regards,

    Thread Starter Andreas

    (@stylingagenten)

    Thank you that worked like a charm!

    • This reply was modified 10 months, 1 week ago by Andreas.
    Plugin Contributor Md. Ibrahim Khalil

    (@mdibrahimk48)

    You are welcome.

    Have a good day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Buttom not aligned’ is closed to new replies.