Jump to content

Custom type works in the editor, but not on the live site

Go to solution Solved by Ziggy,

Recommended Posts

We have used custom fonts for the site, but need to add CSS to have the same fonts in all blocks. It works on most things, but when I've tried to change the captions in a gallery-block, it only works in the editor and not on the live site.

I've added !important and looked around the forum for answers, but I can't find what's missing.

Does anyone have a fix? 

@tuanphan?

 

Image shows how it looks in editor. On live site, the text is white and in Times New Roman...

Screenshot 2023-05-11 at 15.11.30.png

Edited by Kallegraphics
Link to comment

Can you share your website URL and the page this is on? Thanks!

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment
  • Solution

Try this tweak of your Custom CSS:

.gallery-caption p.gallery-caption-content {
    font-family: 'Inter-Regular' !important;
}

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment
5 minutes ago, Kallegraphics said:

This helped straight away. Even managed to include the changes to color and linespacing below it. Thanks!

Amazing!

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

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.