Jump to content

Custom CSS for Single-Column blog header | Squarespace 7.1

Recommended Posts

Site URL: https://marigold-wolf-xzky.squarespace.com/

Hi there, first time posting on the forums but felt encouraged based on other threads I've read from. 

I am working on developing a site and cannot get the header of this blog page to be the custom typeface we are using. When I click into the blog it is correct, just on the single-column summary page the title is incorrect. 

Being that the site is in development it is password protected.

The url is: https://marigold-wolf-xzky.squarespace.com/articles
The password is: "documentation"

Please see screenshots below. The first one (serif header) is incorrect and on the summary page, the second is on the page itself (correct).

(P.S. - this entire issue could be fixed if anyone knows why DM Sans [ a typeface from Google Fonts ] is not available on the typeface library built in to Squarespace, third screenshot shows it missing)

For extra info please see below is the custom CSS I have added to the site so far:

@font-face {
font-family: DM Sans Bold;
src: url(https://static1.squarespace.com/static/60b6cf5779f0bf166f136d86/t/60b6d289297d2d2c20d94420/1622594185119/DMSans-Bold.ttf);
}

h1 {
font-family: 'DM Sans Bold';
}

@font-face {
font-family: DM Sans Medium;
src: url(https://static1.squarespace.com/static/60b6cf5779f0bf166f136d86/t/60b6d2951b7c4d7e9fd99a37/1622594197373/DMSans-Medium.ttf);
}

h2 {
font-family: 'DM Sans Medium';
}

@font-face {
font-family: DM Sans Regular;
src: url(https://static1.squarespace.com/static/60b6cf5779f0bf166f136d86/t/60b6d29712d078031a56253c/1622594199973/DMSans-Regular.ttf);
}

h3 {
font-family: 'DM Sans Regular';
}

H4 {
font-family: 'DM Sans Regular';
}

// // // 

h1.entry-title {
    font-family: 'DM Sans Medium' !important;
}

.h1.blog-title {
   font-family: 'DM Sans Bold' ;
 }

Screen Shot 2021-06-22 at 3.13.55 PM.png

Screen Shot 2021-06-22 at 3.14.22 PM.png

Screen Shot 2021-06-22 at 3.19.30 PM.png

Link to comment
  • Replies 2
  • Views 1.2k
  • Created
  • Last Reply
19 minutes ago, bhbeny said:

I am working on developing a site and cannot get the header of this blog page to be the custom typeface we are using. When I click into the blog it is correct, just on the single-column summary page the title is incorrect. This entire issue could be fixed if anyone knows why DM Sans [ a typeface from Google Fonts ] is not available.

Around 600 Google fonts are available but not all fonts or formatting options are included with Squarespace.

To manually set the font on this page, try adding this at the end of your Custom CSS:

.blog-single-column .blog-title {
  font-family: 'DM Sans Bold'!important;
}

 

Let us know if this helps by clicking "Like" below ⬇️

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Link to comment
52 minutes ago, paul2009 said:

Around 600 Google fonts are available but not all fonts or formatting options are included with Squarespace.

To manually set the font on this page, try adding this at the end of your Custom CSS:


.blog-single-column .blog-title {
  font-family: 'DM Sans Bold'!important;
}

 

Let us know if this helps by clicking "Like" below ⬇️

Thank you SO much! this totally worked. 

Gotcha, so funny that one of the ones were using just happens to not be on there 😛 

Thank you again! 

Link to comment

Archived

This topic is now archived and is closed to further replies.

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