Jump to content

Make Form Labels Bold

Go to solution Solved by tuanphan,

Recommended Posts

  • Replies 10
  • Views 1.9k
  • Created
  • Last Reply

Top Posters In This Topic

  • 4 months later...
On 2/20/2024 at 2:35 AM, tuanphan said:

Use this code

div.title span {
    font-weight: bold !important;
}

 

hello! I tried this but it isn't working on Text fields for some reason?
(works on all other types of fields).
thoughts?

 

 

Screenshot 2024-06-23 at 10.25.14.png

Edited by popofglitter
clarification
Link to comment
On 6/23/2024 at 10:26 PM, popofglitter said:

hello! I tried this but it isn't working on Text fields for some reason?
(works on all other types of fields).
thoughts?

 

 

Screenshot 2024-06-23 at 10.25.14.png

Can you share link to page where you use form? I will check again

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
On 6/26/2024 at 4:15 AM, popofglitter said:

hi @tuanphan

https://bagpipe-grasshopper-ybz6.squarespace.com/inquire
password: cupcake

it looks like Date field labels are also not being bolded

thank you!

You can use this CSS code

div.field.text div span, div.field.textarea div span {
    font-weight: bold !important;
}

image.thumb.png.59af8ea8e03c9d65bd01857a9d2a9669.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
2 hours ago, tuanphan said:

You can use this CSS code

div.field.text div span, div.field.textarea div span {
    font-weight: bold !important;
}

image.thumb.png.59af8ea8e03c9d65bd01857a9d2a9669.png

Almost there..."email" and "date" field are still regular/not bold when I use both code snippets.

 

(If I only use the latest code snippet, only short fields are bolded).

both codes.png

only latest code.png

Link to comment

This code should cover everything, remove address line if you want address child labels not to be bold, e.g. Line 1, Country, etc. Address itself will still be bold:

 


.form-block  .title span:not(description), /* regular inputs */
.form-block .caption-text /* address child fields: line 1, etc — remove this if you don't want them bold */
{
  	font-weight: bold !important;
}

image.thumb.png.93a936caa0ba801fb04fd817587dbc81.png

image.thumb.png.04aff70ab7de9a0e406b1209eed961c6.png

Edited by nick_sh

 

Try new Squrespace ID & class finder Chrome Extension

✔ Supports Fluid Engine   ✔ Generate Media Queries code   ✔ Toggle IDs with Option / Alt 

____

Hire me for SquareSpace development

 

Link to comment
On 6/28/2024 at 2:36 PM, nick_sh said:

This code should cover everything, remove address line if you want address child labels not to be bold, e.g. Line 1, Country, etc. Address itself will still be bold:

 


.form-block  .title span:not(description), /* regular inputs */
.form-block .caption-text /* address child fields: line 1, etc — remove this if you don't want them bold */
{
  	font-weight: bold !important;
}

image.thumb.png.93a936caa0ba801fb04fd817587dbc81.png

image.thumb.png.04aff70ab7de9a0e406b1209eed961c6.png

THIS WORKED! Thank you so much!!!

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.