• Resolved capri2794

    (@capri2794)


    Hello,

    I want the Add to Cart button to be aligned with the content (to the left). But whenever I make the button 100% wide it is aligned. But I want it to be 20% wide. So it shifts towards right.

    Link attached for reference.

    Kindly help.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @capri2794,

    There is a hidden input field (quantity field) to the left of the ‘Add to Cart’ button. Please refer to this screenshot for reference.

    You can move the ‘Add to Cart’ button below the hidden field or remove the float property from the div that contains the hidden input to fix the alignment.

    I hope this helps!

    Thread Starter capri2794

    (@capri2794)

    How can I remove this field? Can you please guide which code I should add?

    Saif

    (@babylon1999)

    Hello @capri2794,

    I see the button aligned with the rest of the content, so I’m not sure if you’ve figured it out or if I misunderstood your request. Can you please clarify?


    Link to image: https://d.pr/i/KL4x5r

    Either way, please let us know.

    Saif

    (@babylon1999)

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add to Cart button on single product page not aligned with content’ is closed to new replies.