nheo Posted May 7, 2021 Share Posted May 7, 2021 (edited) Site URL: https://www.nayoung-heo.com/ The css I used for two custom fonts shows up in editor mode but once I navigate to a different tab and view the site, the fonts don't show up and it just displays the default fallback font. Please help! This is the code used: @font-face { font-family: 'NibPro-Light'; src: url('https://static1.squarespace.com/static/5f70e2ee85b66a7f80fcca67/t/6094647bbf6c5041e26a7bce/1620337787489/NibPro-Light.ttf') } h1 {font-family: 'NibPro-Light';} h2 {font-family: 'NibPro-Light';} h3 {font-family: 'NibPro-Light';} h4 {font-family: 'NibPro-Light';} @font-face { font-family: 'NibPro-LightItalic'; src: url('https://static1.squarespace.com/static/5f70e2ee85b66a7f80fcca67/t/60946484bc595d332e266e90/1620337797070/NibPro-LightItalic.ttf') } h1 em {font-family: 'NibPro-LightItalic';} h2 em {font-family: 'NibPro-LightItalic';} h3 em {font-family: 'NibPro-LightItalic';} @font-face { font-family: 'GopherDisplay-Regular'; src: url ('https://static1.squarespace.com/static/5f70e2ee85b66a7f80fcca67/t/60955f1eb9d5c42a20b6a2d8/1620401950746/GopherDisplay-Regular.otf') } p {font-family: 'GopherDisplay-Regular'} a {font-family: 'GopherDisplay-Regular'} button {font-family: 'GopherDisplay-Regular'} I attached an image of what the page is supposed to look like. Edited May 7, 2021 by nheo Link to comment
tuanphan Posted May 9, 2021 Share Posted May 9, 2021 Hi. What is password? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
nheo Posted May 10, 2021 Author Share Posted May 10, 2021 @tuanphan Msged you the PW privately! Thanks! Link to comment
tuanphan Posted May 12, 2021 Share Posted May 12, 2021 On 5/10/2021 at 7:04 PM, nheo said: @tuanphan Msged you the PW privately! Thanks! Hi. Your Custom CSS box has a syntax error so all (or some) code won't work properly. If you look at the bottom right corner, you will see a red notice. Can you paste all code in Custom CSS box here? We can find the syntax error easier. Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
nheo Posted May 13, 2021 Author Share Posted May 13, 2021 @tuanphan Here you go! @font-face { font-family: 'NibPro-Light'; src: url('https://static1.squarespace.com/static/5f70e2ee85b66a7f80fcca67/t/6094647bbf6c5041e26a7bce/1620337787489/NibPro-Light.ttf') } h1 {font-family: 'NibPro-Light';} h2 {font-family: 'NibPro-Light';} h3 {font-family: 'NibPro-Light';} h4 {font-family: 'NibPro-Light';} @font-face { font-family: 'NibPro-LightItalic'; src: url('https://static1.squarespace.com/static/5f70e2ee85b66a7f80fcca67/t/60946484bc595d332e266e90/1620337797070/NibPro-LightItalic.ttf') } h1 em {font-family: 'NibPro-LightItalic';} h2 em {font-family: 'NibPro-LightItalic';} h3 em {font-family: 'NibPro-LightItalic';} @font-face { font-family: 'GopherDisplay-Regular'; src: url ('https://static1.squarespace.com/static/5f70e2ee85b66a7f80fcca67/t/60955f1eb9d5c42a20b6a2d8/1620401950746/GopherDisplay-Regular.otf') } p {font-family: 'GopherDisplay-Regular'} a {font-family: 'GopherDisplay-Regular'} button {font-family: 'GopherDisplay-Regular'} .portfolio-grid-overlay .grid-item .portfolio-text .portfolio-title { display: none} .form-wrapper .field-list .title { font-family: 'NibPro-Light'; } .button .sqs-system-button .sqs-editable-button { font-family: 'GopherDisplay-Regular'; } @media screen and (max-width: 640px); #block-d8d6403f75a3bc88b95a { width: 40% !important; } section.item-pagination.item-pagination--prev-next * { font-family: 'NibPro-Light'; } Link to comment
tuanphan Posted May 14, 2021 Share Posted May 14, 2021 Edit these line @media screen and (max-width: 640px); #block-d8d6403f75a3bc88b95a { width: 40% !important; } section.item-pagination.item-pagination--prev-next * { font-family: 'NibPro-Light'; } to this @media screen and (max-width: 640px) { #block-d8d6403f75a3bc88b95a { width: 40% !important; } section.item-pagination.item-pagination--prev-next * { font-family: 'NibPro-Light'; }} Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
nheo Posted May 14, 2021 Author Share Posted May 14, 2021 (edited) @tuanphanAmazing, that worked thank you! One more issue however, the 'GopherDisplay-Regular' font is still not showing up on mobile. Desktop is all good but mobile defaults to the fallback font for P, a, and button styles. Thank you! Edited May 14, 2021 by nheo Link to comment
tuanphan Posted May 16, 2021 Share Posted May 16, 2021 On 5/14/2021 at 11:48 PM, nheo said: @tuanphanAmazing, that worked thank you! One more issue however, the 'GopherDisplay-Regular' font is still not showing up on mobile. Desktop is all good but mobile defaults to the fallback font for P, a, and button styles. Thank you! Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment