CMS Development

navya
Miembro

Custom template build

resolver

We are trying to build a new website to replace our current website. 

We've created a new folder in the designer manager and built templates, modules, and global modules. 

But, when we are trying to test it, the old CSS is overlapping the new website design.

 

What care should be taken to avoid this?

(The CSS overlapping over a new template is the header global module and footer global module).

 

Thanks,

0 Me gusta
1 Soluciones aceptada
Yoshi
Solución
HubSpot Employee
HubSpot Employee

Custom template build

resolver

Hi @navya

If you could check out this article (https://knowledge.hubspot.com/articles/kcs_article/cos-general/create-edit-and-attach-css-files-to-s...), HubSpot has 3 places to attach CSS file. 

You can attach at the following place. 

  • Template 
  • Domain
  • Page

So what it could be is that you have attach a CSS file on domain level. 

 

Another possibility is that inline styling is enabled on your module level. If you could check out this article (https://knowledge.hubspot.com/articles/kcs_article/cos-general/use-the-inspector-to-style-your-templ...), you can put inline styling directly to the module. 

 

 

 

プロフェッショナルサービス


栁澤啓明|シニアテクニカルコンサルタント

Ver la solución en mensaje original publicado

0 Me gusta
1 Respuesta 1
Yoshi
Solución
HubSpot Employee
HubSpot Employee

Custom template build

resolver

Hi @navya

If you could check out this article (https://knowledge.hubspot.com/articles/kcs_article/cos-general/create-edit-and-attach-css-files-to-s...), HubSpot has 3 places to attach CSS file. 

You can attach at the following place. 

  • Template 
  • Domain
  • Page

So what it could be is that you have attach a CSS file on domain level. 

 

Another possibility is that inline styling is enabled on your module level. If you could check out this article (https://knowledge.hubspot.com/articles/kcs_article/cos-general/use-the-inspector-to-style-your-templ...), you can put inline styling directly to the module. 

 

 

 

プロフェッショナルサービス


栁澤啓明|シニアテクニカルコンサルタント

0 Me gusta