Jump to content

Form Field customisation

Go to solution Solved by Lesum,

Recommended Posts

@mdegortariYou can add this code snippet within the Custom CSS panel:

section[data-section-id="65020d2d2b9ee303c97e6bf4"] {
	input, textarea {
		border:none !important;
		background:transparent !important;
	}
	input, textarea {
		border-bottom: 1px solid #a9a9a9 !important;
	}
	input:focus, textarea:focus {
		outline: none !important;
	}
	input:focus, textarea:focus {
		border-bottom: 1px solid #000000 !important;
	}
}
Edited by Lesum

If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. 

Sam
Web Developer & Digital Designer

 Did you find my contribution helpful? Buy me a coffee?

Link to comment
  • Solution

@mdegortari Sorry I missed the button. Here's the updated code:

section[data-section-id="65020d2d2b9ee303c97e6bf4"] {
	input:not([type="submit"]), textarea {
		border: none !important;
		border-bottom: 1px solid #a9a9a9 !important;
		background: transparent !important;
	}
	input:not([type="submit"]):focus, textarea:focus {
		outline: none !important;
		border-bottom: 1px solid #000000 !important;
	}
}

If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. 

Sam
Web Developer & Digital Designer

 Did you find my contribution helpful? 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.