Hey all, had to come to the forums for this one as I’m totally stumped… I’m just starting to set up/work on a site and it hasn’t got much yet. All looking and working fine in the designer, but on the published site the wrapper containing all the content (styles-main) isn’t just not showing up, it doesn’t even exist in the DOM..?
For context that may or may not be relevant, the custom code embeds contain code that’s almost identical to the code on every other site I’ve built (considerably less as I’ve only just started). Have tried removing the js libraries I thought might’ve been interfering. There is a bunch of custom elements but they’re all native HTML tags. Hard to debug when there’s literally nothing to inspect haha.
See attached below and also link to the read-only link.
Your link isn’t working, and we’d need the published site link to the broken page as well.
However 99% chance you have malformed HTML in the <head> custom code area, either on the page or site wide. Something like a missing </script> tag or a typo.
Hey Michael, weird that the read only isn’t working? See here my prod website url and the staging one. I only have code in the global header and footer (which I tested removing and issue still occurred) see below header code:
If there’s malformed HTML then I really can’t imagine it’s my doing. I have a couple code embeds but they’re all css, which I’ve triple checked and tried removing, too. Have tried different browsers (clearing caches) tested on my coworkers computer.
I’ve since rebuilt the site in a new webflow site and it works fine. Unfortunately this one, which my actual domain is currently attached to, seems to be broken at a level I’m unable to see.
Ignore me, resolved! Some css from highlight.js was interfering. Yet to figure out why, but the code block containing a custom theme I had was the only one I forgot to test. Appreciate your help anyway.