Jump to content

what code do use to customize these in css

Recommended Posts

  • Replies 8
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

@jonahsigler Here's a code snippet to customize the font of the required text:

span.required {
	color: "you text color" !important;
	font-size: 1rem !important;
	font-family: "you font name" !important;
}

Here's a code snippet to customize the register text on the button:

input[type="submit"] {
	color: "your text color" !important;
	font-size: 1rem !important;
	font-family: "your font name" !important;
	font-weight: 700 !important;
}

You can edit/remove the "you text color", "your font name" on the code. 

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
On 8/26/2023 at 10:03 PM, Lesum said:

@jonahsigler Here's a code snippet to customize the font of the required text:

span.required {
	color: "you text color" !important;
	font-size: 1rem !important;
	font-family: "you font name" !important;
}

Here's a code snippet to customize the register text on the button:

input[type="submit"] {
	color: "your text color" !important;
	font-size: 1rem !important;
	font-family: "your font name" !important;
	font-weight: 700 !important;
}

You can edit/remove the "you text color", "your font name" on the code. 

On 8/26/2023 at 9:21 PM, Lesum said:

@jonahsigler What exactly would you like to customize? 

it didnt work for some reason

Link to comment

@jonahsigler There are errors in the code you added. You should include "!important" on each line of code, similar to what I've done in the code I provided. Also, it should be ".description.required" instead of "description required".

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
  • 3 weeks later...

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.