# CSS / Javascript template keeps breaking

**URL:** <https://community.hubspot.com/t/css-javascript-template-keeps-breaking/119356>\
**Category:** Blog, Website & Page Publishing\
**Tags:** content, free\
**Created:** [October 28, 2024, 6:41pm UTC](https://community.hubspot.com/t/css-javascript-template-keeps-breaking/119356 "2024-10-28T18:41:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Critchlow](https://avatars.discourse-cdn.com/v4/letter/c/ba9def/32.png) [@Critchlow](https://community.hubspot.com/u/Critchlow)\
**Post date:** [October 28, 2024, 6:41pm UTC](https://community.hubspot.com/t/css-javascript-template-keeps-breaking/119356/1 "2024-10-28T18:41:34Z")

</div>

Hey all,

Over the past couple of weeks, I have had issues with my blog files not displaying properly.

Instead of the properly formatted template, I get javascript showing up on the page and completely overwriting the content.

 ![Critchlow_0-1730140788612.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/8/6/8649ea8c1f17b56e37aeb89bf78c6295ddd077bf.jpeg)

- I have not made any changes to the template
- this is a hubspot provided template so I can’t make any changes to it
- it appears the same on multiple browsers, devices, and networks
- it seems to be related to the blog pages, not the main page
- At some point the problem seems to correct itself and return to normal

Link: [https://mbc-rei.com/blog](https://mbc-rei.com/blog)

My gut feeling is that there is a problem with the CSS file being served up from the hubspot repository that eventually gets corrected, but I am not sure.

Is there something I can do to resolve this issue myself (other than moving to a different platform)?

---

<div class="post-metadata">

**Author:** ![kennedyp](https://avatars.discourse-cdn.com/v4/letter/k/49beb7/32.png) [@kennedyp](https://community.hubspot.com/u/kennedyp)\
**Post date:** [October 28, 2024, 11:05pm UTC](https://community.hubspot.com/t/css-javascript-template-keeps-breaking/119356/2 "2024-10-28T23:05:56Z")

</div>

Hi @Critchlow! Welcome to the Community-- happy to have you here 😊

When you say the template is provided by HubSpot, are you referring to a template provided within a theme from the Marketplace? These are not all built by HubSpot, so it may be useful to double-check the provider of the template if you suspect it is coming from the template CSS. Often the Marketplace listing has a contact option for the provider. Could you attach a screenshot of your template in the design manager for a better view?

I want to invite some subject matter experts to see if they have any suggestions.

Hey @Edouardbrunetot, @Josh, [@Alex\_Elborn](https://community.hubspot.com/t5/user/viewprofilepage/user-id/73663) do you have any thoughts on this?

Best,  
Kennedy

---

<div class="post-metadata">

**Author:** ![Critchlow](https://avatars.discourse-cdn.com/v4/letter/c/ba9def/32.png) [@Critchlow](https://community.hubspot.com/u/Critchlow)\
**Post date:** [October 28, 2024, 11:13pm UTC](https://community.hubspot.com/t/css-javascript-template-keeps-breaking/119356/3 "2024-10-28T23:13:04Z")

</div>

_are you referring to a template provided within a theme from the Marketplace?_

Yes.

It is the “Real\_Thor\_free” theme

The last time this happened (within the past week), the pages reverted to normal without me doing anything…

I can’t access it in the design manager…

 ![Critchlow_0-1730157122591.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/1/a/1af6d1f40d6b44dc6228ae2e3ec65239205c7941.png)

---

<div class="post-metadata">

**Author:** ![GiantFocal](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/giantfocal/32/41969_2.png) [@GiantFocal](https://community.hubspot.com/u/GiantFocal)\
**Post date:** [October 29, 2024, 1:34am UTC](https://community.hubspot.com/t/css-javascript-template-keeps-breaking/119356/4 "2024-10-29T01:34:29Z")

</div>

Hi @Critchlow,

There is an issue with your theme/template; all HubL codes are printed as they are instead of being executed. That’s why none of your CSS and JS files are loaded.

 ![GiantFocal_0-1730165610015.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/1/1cf55f467fb539ebaf573e6c9c7fd20d3710e2a2.png)

I would recommend reaching out to the theme/template developer.

---

<div class="post-metadata">

**Author:** ![Critchlow](https://avatars.discourse-cdn.com/v4/letter/c/ba9def/32.png) [@Critchlow](https://community.hubspot.com/u/Critchlow)\
**Post date:** [October 29, 2024, 5:00am UTC](https://community.hubspot.com/t/css-javascript-template-keeps-breaking/119356/5 "2024-10-29T05:00:50Z")

</div>

While that seems like a reasonable idea, the design manager says that none of the templates have been updated since 2022…

So if they haven’t changed, why would the pages not be working anymore?

 ![Critchlow_0-1730177995601.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/e/c/ecc1a3cff0d19e0a8a3c8457349792a205fa3f7b.png)

---

<div class="post-metadata">

**Author:** ![kennedyp](https://avatars.discourse-cdn.com/v4/letter/k/49beb7/32.png) [@kennedyp](https://community.hubspot.com/u/kennedyp)\
**Post date:** [October 30, 2024, 9:12pm UTC](https://community.hubspot.com/t/css-javascript-template-keeps-breaking/119356/6 "2024-10-30T21:12:55Z")

</div>

Hey @Critchlow, as a test, you could try to clone one of your blog posts or create a new one with the same template to see if the same issue occurs on the new page!

Additionally, that last updated date should only apply to the times it has been manually updated in HubSpot, so that date will likely always be the date you installed it!

Best,  
Kennedy

---

<div class="post-metadata">

**Author:** ![Critchlow](https://avatars.discourse-cdn.com/v4/letter/c/ba9def/32.png) [@Critchlow](https://community.hubspot.com/u/Critchlow)\
**Post date:** [November 1, 2024, 4:56am UTC](https://community.hubspot.com/t/css-javascript-template-keeps-breaking/119356/7 "2024-11-01T04:56:42Z")

</div>

Thanks for the response.

At this point, I have moved my website off of hubspot and onto an AWS wordpress site.

The very small price to host the website there is worth the control that I have so that no-one breaks the site underneath me in the future.

fwiw, before I switched the DNS over, the error was occuring on all of my existing blog posts.

Good to know that the last update date isn’t actually the last update date. 😞
