Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Rounding boxes in commerce & contact form


Peterotoole

Question

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
  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Posted Images

2 answers to this question

Recommended Posts

  • 0

@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
  • 0
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...