Blog, Website & Page Publishing

Critchlow
Member

CSS / Javascript template keeps breaking

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

 

  • 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 

 

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)? 

0 Upvotes
6 Replies 6
kennedyp
Community Manager
Community Manager

CSS / Javascript template keeps breaking

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


HubSpot’s AI-powered customer agent resolves up to 50% of customer queries instantly, with some customers reaching up to 90% resolution rates.
Learn More.


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !
0 Upvotes
Critchlow
Member

CSS / Javascript template keeps breaking

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

0 Upvotes
GiantFocal
Top Contributor | Gold Partner
Top Contributor | Gold Partner

CSS / Javascript template keeps breaking

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

 

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

 

Best regards,
Ernesto @ GiantFocal
Found this answer helpful?
Marking it as the solution helps both the community and me - thanks in advance!
0 Upvotes
Critchlow
Member

CSS / Javascript template keeps breaking

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

 

0 Upvotes
kennedyp
Community Manager
Community Manager

CSS / Javascript template keeps breaking

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 do you have any thoughts on this?

 

Best, 
Kennedy


HubSpot’s AI-powered customer agent resolves up to 50% of customer queries instantly, with some customers reaching up to 90% resolution rates.
Learn More.


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !
0 Upvotes
Critchlow
Member

CSS / Javascript template keeps breaking

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

 

0 Upvotes