Jump to content

Override PART of an H1 and H2 title with lighter font weight

Go to solution Solved by HoaLT,

Recommended Posts

I would like PART of a H1 header to be a lighter weight than standard on my site.*

"LifeShifts Coaching"

But nothing I've tried is working.

This is what I've added to CSS, and also tried inline CSS:
h1.span {
  font-weight: 100 !important;
  font-style: normal !important;
}
h2.span {
  font-weight: 100 !important;
  font-style: normal !important;
}

Help please!

*On a different page, I would like the same for a H2 header.

2024-06 LifeShifts Product – Carola Moon The Women's Clarity Coach @TheCarolaMoon.png

Link to comment
1 hour ago, Rolaa said:

I would like PART of a H1 header to be a lighter weight than standard on my site.*

"LifeShifts Coaching"

But nothing I've tried is working.

This is what I've added to CSS, and also tried inline CSS:
h1.span {
  font-weight: 100 !important;
  font-style: normal !important;
}
h2.span {
  font-weight: 100 !important;
  font-style: normal !important;
}

Help please!

*On a different page, I would like the same for a H2 header.

2024-06 LifeShifts Product – Carola Moon The Women's Clarity Coach @TheCarolaMoon.png

Can you share your URL so we can check it easier?

How to set the protected password

Press 👍  or mark my comment as solution if you find my sharing useful

🆒 Squarespace pinchzoom lightbox plugin (affiliate link)

👁‍🗨 360 degree photo viewer (affiliate link)

Link to comment
  • Solution
Posted (edited)
10 minutes ago, Rolaa said:

Yes, that's the correct link. The H1 is LifeShifts Coaching, where I'd like the "Life" part to be not bold:
https://www.thecarolamoon.com/lifeshifts-coaching-programme

Screenshot 2024-07-18 at 16.32.07.png

I check that this entire text is the normal style so we can not decrease the bold anymore. Instead of that, you can set the Shifts Coaching more bold than normal or use different colors for them

#block-yui_3_17_2_1_1721305819492_9570 h1 span {
  font-weight: 100;
}

#block-yui_3_17_2_1_1721305819492_9570 h1  {
  font-weight: 700;
}

This is my approach

image.thumb.png.6f9daa647c14fa0a4707d492eba93839.png

Hope it makes sense

Edited by HoaLT

Press 👍  or mark my comment as solution if you find my sharing useful

🆒 Squarespace pinchzoom lightbox plugin (affiliate link)

👁‍🗨 360 degree photo viewer (affiliate link)

Link to comment
8 minutes ago, HoaLT said:

I check that this entire text is the normal style so we can not decrease the bold anymore. Instead of that, you can set the Shifts Coaching more bold than normal or use different colors for them

#block-yui_3_17_2_1_1721305819492_9570 h1 span {
  font-weight: 100;
}

#block-yui_3_17_2_1_1721305819492_9570 h1  {
  font-weight: 700;
}

This is my approach

image.thumb.png.6f9daa647c14fa0a4707d492eba93839.png

Hope it makes sense

Yes, that makes perfect sense! And yes, just noticed that the H1 is set to 400 (normal) in site styles. This is working (although it's not as strong a difference as yours). How do I find the block ID? My Chrome extension isn't working anymore, and I've got another H2 header I need to adjust...

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.