Jump to content

h4 font styling css not working

Recommended Posts

I changed the font styling in CSS, and now I regret it! 😖

I originally had h4 set to Oswald, and it was working fine, but I decided to change it to "Dancing Script" and for the life of me, I couldn't get it to work. I just asumed I had the font family name incorrect, now after many hours of messing about with it, I just thought i'd not waste my time any more and go back to Oswald again...
and what do you know... now Oswald won't work! 

Where am I going wrong? 

/* New heading font for h4 */
h4 {
  font-family: 'Oswald' !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 14px;

Also, if you do know the correct code to include Dancing Script, I'd love to know because I was originally wanting to go with that.

Many thanks!

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.