Jump to content

My custom font will not appear on mobile

Recommended Posts

  • 2 months later...
  • Replies 1
  • Views 323
  • Created
  • Last Reply

I see you declared duplicate font-face

just declare once for a font

@font-face {
    font-family: 'HKKontrast-Bold';
    src: url('https://static1.squarespace.com/static/5ec4025a32c78c3567060986/t/5ee101604e9a1223ea4adb74/1591804256758/HKKontrast-Bold.ttf')
}
h2, h1 {
    font-family: 'HKKontrast-Bold'
}
@font-face {
    font-family: 'Inconsolata-Regular';
    src: url('https://static1.squarespace.com/static/5ec4025a32c78c3567060986/t/5ee91b6d2107035456c711b1/1592335213446/Inconsolata-Regular.ttf')
}
p {
    font-family: 'Inconsolata-Regular';
}
header#header * {
    font-family: 'Inconsolata-Regular';
}

heading has h1, h2, h3, h4, h5, h6

p has only p tag, don't have p1,p2,p3..

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

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.