Jump to content

When I change a font the rest of the fonts also change.

Recommended Posts

When I change the banner font, the nav font and h1 font also changes.

I use these codes:

H1

@font-face { font-family: "mostard"; src: url(https://static1.squarespace.com/static/5d8bc14279ccce344e38d1df/t/5d8c8c823b747142ae75cf16/1569492098311/Mostardesign+-+Sofia+Pro+Bold.woff);}

h1 * { font-family: 'mostard' !important; }

NAV FONT

@font-face { font-family: "mostard"; src: url(https://static1.squarespace.com/static/5d8bc14279ccce344e38d1df/t/5d8c85d46412ab652b47176e/1569490388458/Mostardesign+-+Sofia+Pro+Medium.woff);}

header#header * { font-family: 'mostard' !important; }

BANNER

@font-face { font-family: "mostard"; src: url(https://static1.squarespace.com/static/5d8bc14279ccce344e38d1df/t/5d8c8c823b747142ae75cf16/1569492098311/Mostardesign+-+Sofia+Pro+Bold.woff);}

.index-item-title { font-family: mostard; }

@tuanphan please help

Link to comment
  • Replies 2
  • Views 613
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.