CMS Development

tahsin
Participante

Coded Landing Page question

Hi there,

I recently coded a landing page template from scratch and I notice the  

{{ standard_header_includes }} pulls in the styles and jqeury from my content global setting in hubspot.

 

Is there anyway to stop pulling in those files as I prefer to have control on what css and jquery I put in cause currently its pulling in css and jquery from the  main hubspot website and its messing up my LP styles.

 

I know in the COS template editor we have the option to turn of the 

Include Domain Stylesheets so wondering how do we do that in the code editor template.

 

Thanks

 

 

 

 

0 Me gusta
2 Respuestas 2
stefen
Asesor destacado | Partner
Asesor destacado | Partner

Coded Landing Page question

@tahsin that's a good question...

I know you can use the following to control the output of the hs_default_custom_style.css file:

 {% style include_default_custom_css="false" %}

 

I don't know if it would work but you could try 

 {% style include_domain_stylesheets="false" %}

or

 {% style include_domain_css="false" %}

 

But that's just me shooting in the dark.

Stefen Phelps, Community Champion, Kelp Web Developer
0 Me gusta
tahsin
Participante

Coded Landing Page question

@stefen tried it but didnt work the public_common.css is still there

<link href="https://static.hsstatic.net/content_shared_assets/static-1.4040/css/public_common.css" rel="stylesheet">

 

Thanks anyway I really dont understand whats the point of having a coded template when you cant have full control on what you want to put on the header and footer. 

 

0 Me gusta