Coded Landing Page question

Highlighted
Occasional Contributor

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

 

 

 

 

Reply
0 Upvotes
2 Replies 2
Advisor

@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
Web Developer / Co-founder
Kelp Creative Agency
Twitter — @stefen
Reply
0 Upvotes
Occasional Contributor

@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. 

 

Reply
0 Upvotes