Jump to content

Custom Code Font Not Working

Go to solution Solved by tuanphan,

Recommended Posts

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

I have implemented a custom font for my H1 on my site but it is only showing up for me on the desktop vesrion, it won't work for the mobile version, and anyone who I send the site to it is also not working for them on the desktop version...

I have attached 3 images showing the one that it is working for me on desktop as well two images showing that it is not working for me on mobile and for others on desktop.

Anyone have any suggestions on how to fix this? 

Thank you! 

Screenshot 2021-07-20 at 14.28.53.png

Screenshot 2021-07-20 at 14.29.43.png

IMG_9663.PNG

Link to comment
  • Solution
On 7/21/2021 at 4:31 AM, kadesign said:

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

I have implemented a custom font for my H1 on my site but it is only showing up for me on the desktop vesrion, it won't work for the mobile version, and anyone who I send the site to it is also not working for them on the desktop version...

I have attached 3 images showing the one that it is working for me on desktop as well two images showing that it is not working for me on mobile and for others on desktop.

Anyone have any suggestions on how to fix this? 

Thank you! 

Screenshot 2021-07-20 at 14.28.53.png

Screenshot 2021-07-20 at 14.29.43.png

IMG_9663.PNG

Hi. Your font code is invalid. Replace all code in Custom CSS with this code

@font-face {
    font-family: moontime;
    src: url(https://static1.squarespace.com/static/60de3fafbab11f6f3a2625ee/t/60f5bb8cc689252d67948a1b/1626717068734/MoonTime-Regular.ttf)
}

h1 {
    font-family: moontime !important;
}

 

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
On 7/21/2021 at 6:39 PM, tuanphan said:

Hi. Your font code is invalid. Replace all code in Custom CSS with this code

@font-face {
    font-family: moontime;
    src: url(https://static1.squarespace.com/static/60de3fafbab11f6f3a2625ee/t/60f5bb8cc689252d67948a1b/1626717068734/MoonTime-Regular.ttf)
}

h1 {
    font-family: moontime !important;
}

 

oh my gosh!! thank you so much!! 

Link to comment
On 7/24/2021 at 3:02 AM, kadesign said:

oh my gosh!! thank you so much!! 

Do you want to fix these?

Site URL: https://www.katelynannemarie.com/
1. (Mobile – Homepage) Word break

katelynannemarie.com-01-min.png

2. (Mobile – Homepage) The same here

katelynannemarie.com-02-min.png

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

Create an account or sign in to comment

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

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