Jump to content

Form - remove '(required)' after 'Name' and add '(required)' after 'First Name' and 'Last Name'

Go to solution Solved by tuanphan,

Recommended Posts

Hello. On my contact form, I would like to remove '(required)' after 'Name' and add '(required)' after 'First Name' and also after 'Last Name'. I guess this would be possible with the right custom CSS? Any help would be greatly appreciated! Thanks!

Link to comment
  • Replies 4
  • Views 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • Solution

You can use this code to Website > Website Tools > Custom CSS

.name span.description.required {
    display: none;
}
.first-name .caption-text:after, .last-name .caption-text:after {
    content: "(required)";
    opacity: 0.7;
}

image.thumb.png.38cd4f14c2a222821886aaf346da1116.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.