Jump to content

Custom CSS Fonts not consistant

Recommended Posts

Site URL: https://dachshund-copper-bnh5.squarespace.com/

Hi there,
I'm new to editing the custom CSS and I'm having trouble with the custom fonts being consistent across the site. 
I thought I'd only have to edit the paragraph and heading fonts but they are not displaying well across the site at all. 
I've tried going in and editing other parts like the buttons and product price etc. but shouldn't the below override it?
I'm also having an issue where the recoleta font I've uploaded isn't displaying properly. Would really appreciate some help!
 

p {font-family: sofia-pro, sans-serif;
    font-weight: 700;
    font-style: normal;}

h1 {font-family: 'recoleta';}
h2 {font-family: 'recoleta';}
h3 {font-family: 'recoleta';}
h4 {font-family: 'recoleta';}

Screen Shot 2021-12-08 at 2.30.01 PM.png

Link to comment
4 hours ago, vivid11 said:

Site URL: https://dachshund-copper-bnh5.squarespace.com/

Hi there,
I'm new to editing the custom CSS and I'm having trouble with the custom fonts being consistent across the site. 
I thought I'd only have to edit the paragraph and heading fonts but they are not displaying well across the site at all. 
I've tried going in and editing other parts like the buttons and product price etc. but shouldn't the below override it?
I'm also having an issue where the recoleta font I've uploaded isn't displaying properly. Would really appreciate some help!
 

p {font-family: sofia-pro, sans-serif;
    font-weight: 700;
    font-style: normal;}

h1 {font-family: 'recoleta';}
h2 {font-family: 'recoleta';}
h3 {font-family: 'recoleta';}
h4 {font-family: 'recoleta';}

Screen Shot 2021-12-08 at 2.30.01 PM.png

Have you tried set font in style yet?

 

Or if it is your custom font, you can apply all site by apply in Home > Design > Custom Css

* {
 font-family: 'your-font' !important;
}

Hope it can help you

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
On 12/8/2021 at 8:30 AM, vivid11 said:

Site URL: https://dachshund-copper-bnh5.squarespace.com/

Hi there,
I'm new to editing the custom CSS and I'm having trouble with the custom fonts being consistent across the site. 
I thought I'd only have to edit the paragraph and heading fonts but they are not displaying well across the site at all. 
I've tried going in and editing other parts like the buttons and product price etc. but shouldn't the below override it?
I'm also having an issue where the recoleta font I've uploaded isn't displaying properly. Would really appreciate some help!
 

p {font-family: sofia-pro, sans-serif;
    font-weight: 700;
    font-style: normal;}

h1 {font-family: 'recoleta';}
h2 {font-family: 'recoleta';}
h3 {font-family: 'recoleta';}
h4 {font-family: 'recoleta';}

Screen Shot 2021-12-08 at 2.30.01 PM.png

Can you share access password?

accesspasssword.png

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

I've managed to resolve this using the following for CSS

 

@font-face {

    font-family: 'recoleta';

       src: url('https://static1.squarespace.com/static/619e96948de9340ae71dd46d/t/61b67067ef695f7cbae876f1/1639346280576/RecoletaAlt-Bold.ttf');

  }

h1 {font-family: 'recoleta';}
h2 {font-family: 'recoleta';}
h3 {font-family: 'recoleta';}
h4 {font-family: 'recoleta';}



Many thanks!!

Link to comment
On 12/16/2021 at 5:24 AM, vivid11 said:

I've managed to resolve this using the following for CSS

 

@font-face {

    font-family: 'recoleta';

       src: url('https://static1.squarespace.com/static/619e96948de9340ae71dd46d/t/61b67067ef695f7cbae876f1/1639346280576/RecoletaAlt-Bold.ttf');

  }

h1 {font-family: 'recoleta';}
h2 {font-family: 'recoleta';}
h3 {font-family: 'recoleta';}
h4 {font-family: 'recoleta';}



Many thanks!!

I think you can combine h1, h2, h3, h4 to make code shorter

h1, h2, h4, h3 {font-family: 'recoleta';}

 

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

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.