CMS Development

sachahydra
Participante

Import CSS

resolver

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 Avaliação positiva
1 Solução aceita
Jsum
Solução
Conselheiro(a) de destaque

Import CSS

resolver

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.

Exibir solução no post original

0 Avaliação positiva
2 Respostas 2
Jsum
Solução
Conselheiro(a) de destaque

Import CSS

resolver

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 Avaliação positiva
sachahydra
Participante

Import CSS

resolver

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

0 Avaliação positiva