CMS Development

sachahydra
Participant

Import CSS

SOLVE

Hi good morning, I would like to ask how I import some new CSS files into Hubspot.  I have followed the article to create, edit CSS 

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

but this does not explain how new CSS files can be imported into Hubspot.  Grateful for assistance.   The CSS files have already been created outside Hubspot.

thank you. Sacha

0 Upvotes
1 Accepted solution
Jsum
Solution
Key Advisor

Import CSS

SOLVE

Hi @sachahydra ,

 

You can import css into hubspot by creating a file (like in the article you shared), clearing any default css, and pasting your css into the file. 

 

You can attach css to a template using the edit tab of the left side bar in the template editor. Make sure that no modules are selected. 

 

You can attach css to a specifc page using the settings tab of the page editor.

You are able to attach css files globally to your portal in the website area of your portal settings, though I find this to be bad practice.

 

Let me know if that helps.

View solution in original post

0 Upvotes
2 Replies 2
Jsum
Solution
Key Advisor

Import CSS

SOLVE

Hi @sachahydra ,

 

You can import css into hubspot by creating a file (like in the article you shared), clearing any default css, and pasting your css into the file. 

 

You can attach css to a template using the edit tab of the left side bar in the template editor. Make sure that no modules are selected. 

 

You can attach css to a specifc page using the settings tab of the page editor.

You are able to attach css files globally to your portal in the website area of your portal settings, though I find this to be bad practice.

 

Let me know if that helps.

0 Upvotes
sachahydra
Participant

Import CSS

SOLVE

Thanks Jonathan! I'll give it a try. Sacha

0 Upvotes