Jump to content

Mobile Lightbox Submit Button - Remove Rounded Corners

Go to solution Solved by paul2009,

Recommended Posts

Site URL: https://www.meadowweddingfilms.com/

Hi All

iOS creating its own styling by rounding the corner of my lightbox form submit button.

I've looked at a couple other forum posts but no luck with their solutions, or the replies are unclear on where the coding should go.

 

Please can anyone help on the code to stop this re-styling. 

I just want the button to have 0 radius like the desktop site.

 

Thanks

IMG_3902.PNG

Link to comment
  • Solution
On 5/21/2022 at 12:29 PM, richardgreencreative said:

iOS creating its own styling by rounding the corner of my lightbox form submit button. I just want the button to have 0 radius like the desktop site.

This is a WebKit specific issue which is why you are seeing it on iOS. For the benefit of anyone reading this, WebKit is the web browser engine used by Safari and many other apps on macOS and iOS 🙂

You should be able to remove the border radius by adding this to Design > Custom CSS:

input[type=submit] {
  -webkit-border-radius:0px;
  border-radius:0px;
}

Did this answer your question? Please give feedback by clicking an icon below  ⬇️

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

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.