Wendy Posted April 2, 2020 Share Posted April 2, 2020 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! Link to comment
tuanphan Posted April 4, 2020 Share Posted April 4, 2020 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? 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
Wendy Posted April 10, 2020 Author Share Posted April 10, 2020 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? Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.