Jump to content

Rounding boxes in commerce & contact form

Recommended Posts

Site URL: http://www.peterotoole.ie/shop

I was wondering how I could round these boxes below for Size and Quantity in my Shop and also on my contact form similar to what I have done with the other buttons on my site such as the 'Add to Cart' button.

I was also wondering how I could align the whole section on the right with the top of the photo on the left in my shop. ie align the text 'Cork City Hall Rainbow' and the section underneath with the top of my photo?

Thanks a mill!

Screenshot 2021-02-07 at 1.39.30 p.m..png

Screenshot 2021-02-01 at 1.02.09 a.m..png

Edited by Peterotoole
Link to comment
  • Guest changed the title to Rounding boxes in commerce & contact form
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

@Peterotoole Add the custom CSS code below. See article on how to do that: https://support.squarespace.com/hc/en-us/articles/206545567-Using-the-CSS-Editor 

CSS

/* Round corners on form fields  */
.ProductItem-details input, 
.ProductItem-details select,
.ProductItem-details textarea,
.form-wrapper input, 
.form-wrapper select, 
.form-wrapper textarea  {
  border-radius: 5px !important;
}


/* Override top alignment of product details  */
@media screen and (min-width: 768px){
  .tweak-product-basic-item-content-alignment-top .ProductItem-details {
    padding-top: 0px;
  }
}

 

Link to comment
19 minutes ago, jpeter said:

@Peterotoole Add the custom CSS code below. See article on how to do that: https://support.squarespace.com/hc/en-us/articles/206545567-Using-the-CSS-Editor 

CSS


/* Round corners on form fields  */
.ProductItem-details input, 
.ProductItem-details select,
.ProductItem-details textarea,
.form-wrapper input, 
.form-wrapper select, 
.form-wrapper textarea  {
  border-radius: 5px !important;
}


/* Override top alignment of product details  */
@media screen and (min-width: 768px){
  .tweak-product-basic-item-content-alignment-top .ProductItem-details {
    padding-top: 0px;
  }
}

 

Thanks so much for this jpeter! It's after fixed my issues.

Can I ask how I would change the corner radius on my buttons site wide now as well so they match my photo corner radius which is 20px. thanks a million!

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.