Skip to content

How do I modify the layout for Adding Items to Cart? #497

Answered by crftwrk
cahoskins asked this question in Q&A
Discussion options

You must be logged in to vote

This should do the trick. Code goes to _bscore_custom.scss:

.woocommerce div.product form.cart {
  display: block;

  div.quantity {
    float: left;
  }

  button.button {
    width: calc(100% - 156px); // Width qty input + margin-right
  }
  
}

You should check this on different screen sizes and override media queries if needed.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by cahoskins
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants