Problem with changing header font on a landing page

Highlighted
Visitor

Hi guys

 

Been trying to edit the header font (via an imported font) but it is not taking effect.

 

I have added the codes on the css stylesheet but the only fonts changing are the headings within the content.

 

I am currently working on the vast template.

 

Please help me. Smiley Sad

 

 

Reply
0 Upvotes
1 Reply 1
Regular Advisor | Silver Partner

Hi @minggee 

 

Assuming you've @imported your font with something like:

@import url(//fonts.googleapis.com/css?family=Source+Sans+Pro:400,300italic,600,400italic|Oswald:400);

And you're using CSS Font Faily to call the font:

body {
font-family: 'Source Sans Pro', sans-serif;
}

My next guess would be the CSS file is *not* attached to your Template (see screen shot):

 

 

Screen Shot 2019-05-20 at 10.00.56 AM.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Here's some more infor about attaching style sheets: 

 

https://knowledge.hubspot.com/articles/kcs_article/cos-general/create-edit-and-attach-css-files-to-s...

 

Did that work?

Mike