CSS missing on frontend
Hi, My site just diappeared, I had a 404 page showing. I went inside the builder and updated the page. It now shows the page without CSS.
Any idea why this happens ? It was working perfectly.
Thanks for your insights
masdelangeos.com
-
Hi Jean,
The css is broken because of the code in the Code injection tab.
At this moment, the team removed this code (temporarily), and they are looking on this incompatibility.
Will keep you updated.
Regards, Natalia
0 -
Jean, can you check now the preview mode (clear the browser cache first)?
Thank you!
Natalia
0 -
Yes, it's working. any idea where that did come from ?
0 -
Hi
Like Natalia mentioned above, the CSS was broken because of the code in the Code injection tab.
0 -
The code is still there and was working fine before. Did you remove something or change it on your end ?
0 -
Hello Jean,
I will be honest - I didn't do anything.
I was creating an issue for our team, to inspect this issue, and when I added the code back into your project, the page was loading fine in preview. I asked my colleagues to check your project using different IP addresses, and it worked.
Regards, Natalia
0 -
Good to know. So changing the code and re-saving might fix CSS problems…
0 -
I could reproduce the problem. Each time I change something related to the Typography of the site, CSS gets broken. I have to remove the code and save it again to see the CSS.
And after that, when trying to re-add the code it doesn' work anymore.
0 -
This is the code not working
<!-- langue -->
<script>
const html = document.querySelector("html");
if (html) {
html.setAttribute("lang", "fr");
}0 -
Maybe is this because of the tranlation option I added.
0
Please sign in to leave a comment.
Comments
10 comments