CMS Development

lberta22
Member

Updating fonts throughout

SOLVE

We create lots of landing pages on Hubspot and need to change the universal font. Any ideas what code is needed? And where in Hubspot I should put it? 

 

We want to make sure each landing page we've ever created in Hubspot uses this new font. 

 

Any help is appreciated, thanks!

0 Upvotes
1 Accepted solution
Stephanie-OG
Solution
Key Advisor

Updating fonts throughout

SOLVE

Hi there! It depends on how the site has been built but typically all styling should be under Coded Files > YourWebsite-Style.css

 

If they've use the "baseFontFamily" placeholder throughout, for example, you can update it at the very top of the file which might look like this:

 

Screen Shot 2018-05-29 at 3.50.37 PM.png

 

A sample of HubSpot's boilerplate CSS is here

 

 

If they've set a bunch of custom classes with the font in several places, it might be messier! You can use Ctrl + F on the file to search, you can search for "font-family" and see what fonts have been used throughout. Also watch out if they've used inline css on different modules or CSS specific to certain pages. 


Stephanie O'Gay Garcia
HubSpot Design / Development / Automation
Website | Contact

View solution in original post

0 Upvotes
1 Reply 1
Stephanie-OG
Solution
Key Advisor

Updating fonts throughout

SOLVE

Hi there! It depends on how the site has been built but typically all styling should be under Coded Files > YourWebsite-Style.css

 

If they've use the "baseFontFamily" placeholder throughout, for example, you can update it at the very top of the file which might look like this:

 

Screen Shot 2018-05-29 at 3.50.37 PM.png

 

A sample of HubSpot's boilerplate CSS is here

 

 

If they've set a bunch of custom classes with the font in several places, it might be messier! You can use Ctrl + F on the file to search, you can search for "font-family" and see what fonts have been used throughout. Also watch out if they've used inline css on different modules or CSS specific to certain pages. 


Stephanie O'Gay Garcia
HubSpot Design / Development / Automation
Website | Contact

0 Upvotes