Help! Headers disappeared?

Hello,

It seems like all of our headers have disappeared? They are no longer visible on the site and when we try to edit them, we can see the general list on this page /pro/#/headers but when we go into edit any header the content isn’t visible.

And it appears that the header relocated down to the bottom of the homepage and mixed with another section. Super mixed up…

Hello Paper+Screen,

Thanks for writing in!

You are having this issue because you inserted this broken code in your header:

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-110332787-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'UA-110332787-1', { 'optimize_id': 'GTM-T2FHDS2'});

<HTML>
<HEAD>
<!-- Anti-flicker snippet (recommended)  -->
<style>.async-hide { opacity: 0 !important} </style>
<script>(function(a,s,y,n,c,h,i,d,e){s.className+=' '+y;h.start=1*new Date;
h.end=i=function(){s.className=s.className.replace(RegExp(' ?'+y),'')};
(a[n]=a[n]||[]).hide=h;setTimeout(function(){i();h.end=null},c);h.timeout=c;
})(window,document.documentElement,'async-hide','dataLayer',4000,
{'GTM-T2FHDS2':true});</script>
</script>
<meta name='webgains-site-verification' content='zsuhxtad' />

Please have it updated and use this code instead:

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-110332787-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'UA-110332787-1', { 'optimize_id': 'GTM-T2FHDS2'});
</script>

<!-- Anti-flicker snippet (recommended)  -->
<style>.async-hide { opacity: 0 !important} </style>
<script>(function(a,s,y,n,c,h,i,d,e){s.className+=' '+y;h.start=1*new Date;
h.end=i=function(){s.className=s.className.replace(RegExp(' ?'+y),'')};
(a[n]=a[n]||[]).hide=h;setTimeout(function(){i();h.end=null},c);h.timeout=c;
})(window,document.documentElement,'async-hide','dataLayer',4000,
{'GTM-T2FHDS2':true});</script>

<meta name='webgains-site-verification' content='zsuhxtad' />

We would love to know if this has worked for you. Thank you.

1 Like

It worked, thank you!

You’re welcome, @INcroatia.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.