Archived topic
Issues with adding elements
16 replies · Started by Charles on May 5, 2020
Hi there,
Love the theme guys, great work.
I'm trying to add my GTM and Optinmonster codes via elements. However, it's messing up the front end of the site when I publish them.
Any help would be greatly appreciated.
Hi there,
follow this guide for adding GTM first:
https://docs.generatepress.com/article/implement-google-tag-manager/
Lets see if that works first before adding Optinmonster
Hi,
I've followed the guide but I've still got the same outcome.
Charles
Your site looks fine to me currently.
What is the code you are adding and what is the issue?
Hi there,
I've just re-published the two elements. I'm trying to add GTM hooks. This page is the one with the main issues: https://www.thesurebettor.com/blog/
Can you try doing one at the time? Just add the GTM first.
I'm also not seeing any obvious issues.
Sure, I've just added the GTM following the guide. This end, the blog images are overlaying each other and the hover isn't working on the navigation.
Can you try disabling all plugins except GP Premium for now?
Sure, done that. Still getting the same result this end.
That is super strange. Your body tag is missing a bunch of default classes.
If you are sure the code is added as per the documentation.
Can you send me the dashboard access with all plugins disabled except GP Premium?
You can send the dashboard access using Account Issue here:
https://generatepress.com/contact/
Please include the following information:
– The URL of this topic.
– Login URL.
– Username and password.
Sure, I've sent that over.
Is the issue still happening?
Both elements are published right now and I don't think I'm seeing the issue using the incognito mode:
https://www.screencast.com/t/Sx1EvNCrS2F
Yeah, the issue is still happening. On the /blog/ page mainly
Here's the issue my end: https://prnt.sc/sbgbp0
Think I found the issue. You didn't copy the end tag correctly:
https://www.screencast.com/t/fuxWvy76BA7
Can you try fixing that?