Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
Wendy

Custom Fonts not available in all browsers / devices

Question

Site URL: https://www.nycustompt.com/

Hi @tuanphan

I've been having some troubles with the CSS Custom Fonts. I can't see the fonts properly in all browsers / devices. I have noticed that normally H1, H2, H3 are working fine but I can't see the Klavika font on body text or blogs.

Please find in the lines below the CSS inserted:

All fonts have been uploaded as .ttf, .otf, .woff, and .woff2.

h1 {
font-family: 'KLAVIKA BOLD', 'futura-pt', 'sans-serif', !important;
font-size:40px;     
}

h2 {
font-family: 'KLAVIKA MEDIUM', 'futura-pt', 'sans-serif', !important;
font-size: 20px; 
}

h3 {
font-family: 'KLAVIKA MEDIUM', 'futura-pt', 'sans-serif', !important;    
font-size: 15px;  
}

body {
font-family: 'KLAVIKA', 'futura-pt', 'sans-serif';
font-size:20px;     
}

nav a {
font-family: 'KLAVIKA', 'futura-pt', 'sans-serif';
}

.desc-wrapper p > strong {
font-family: 'KLAVIKA MEDIUM', 'futura-pt', 'sans-serif';
}

.BlogList-item-title, {
font-family: 'KLAVIKA', 'futura-pt', 'sans-serif', !important;
font-size: 25px;
}

.BlogItem-title {
font-family: 'KLAVIKA BOLD', 'futura-pt', 'sans-serif', !important;
font-size: 40px;
}

.Header-nav--primary .Header-nav-item {
  font-family: 'KLAVIKA MEDIUM';
}
.Mobile-overlay-nav--primary .Mobile-overlay-nav-item {
  font-family: 'KLAVIKA MEDIUM' !important;
}

.BlogList-item-excerpt {
  font-family: 'KLAVIKA', 'futura-pt', 'sans-serif';
  font-size: 14px;
  color: #616161;
}

.BlogList-item-readmore {
  font-family: 'KLAVIKA', 'futura-pt', 'sans-serif';
  font-size: 14px;
  letter-spacing: 0.19em;
  color: #616161;
}

.sqs-block-summary-v2 .summary-read-more-link {
 font-family: 'KLAVIKA', 'futura-pt', 'sans-serif';
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #616161;
}

Thanks a Million!

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 0

body/blog font didn't work? or 

It works on this device, and doesn't work on other devices?

And where do you get the above code? Are you sure the class name is correct?


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (promote the establishment of free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post
  • 0

It works in this device but not on mobile or other browsers, for example safari.

The code above is under: Design/ Custom CSS. It could be that some class names are not correct. Could you take a look?

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...