Archived topic
I can see an X after the footer
18 replies · Started by Espresso on January 9, 2019
Hi there, I can see an X after the bottom left of my footer in the theme but I can't understand where it comes from....Is this a bug?
Hi there,
Likely coming from a plugin.
Try #1 here first:
https://docs.generatepress.com/article/debugging-tips/
I have disabled all plugins but the X is still there...
Did you clear your cache (WP Rocket) after disabling the plugins?
The X itself isn't coming from the theme (or else we'd have it here on this website).
It's also possible that it's being added inside a hook, possibly?
Hi Tom,
Disabled all plugins one by one and cleared the cache but nothing happens. Only when I change theme the X goes away. There is nothing in the hooks...
What would you suggest?
Hi there,
how is your cookie notice added?
Hi David, we use a plugin.
And if you disable that plugin and clear your caches?
Still there. The only thing makes it go away is to change the theme to the twenty seventeen one.
Do you know what premium-magic-section-body-inner is? Its a class attached to div that is wrapping the entire content within the body and the "X" appears immediately after it.
Apart from plugins, where in the theme could it be?
It looks like it is generated by a Java Script that is 0$ as result. So far I have disabled all plugins, deleted the 2 lines that I have in the hooks, removed everything I had in the widgets.
Nothing works apart from changing theme.
I saw your post in the facebook group and have been trying to figure out your problem aswel.
Just to react on the '$0 as result' statement. That is incorrect.
See this post on stackoverflow to understand where the $0 is coming from:
https://stackoverflow.com/questions/36999739/what-does-0-double-equals-dollar-zero-mean-in-chrome-developer-tools
Ok no peoblem. I can provide you with User and Pass so you can get into WP backend if that can help?
The $0 is just a mechanism of identitifying the DOM Element in the console, upon inspection there are potentially two JS events related to the "X" - one is the Cookie notice ( which we have checked), the other is the Twitter.widget.
If you want you can provide us with Admin access via the Account Issue form here:
https://generatepress.com/contact/
Please add the URL of this topic so we can track, and we will take a look when we get a minute.