- This topic has 17 replies, 5 voices, and was last updated 5 years, 5 months ago by
Tom.
-
AuthorPosts
-
September 2, 2019 at 6:26 pm #999576
Math
September 2, 2019 at 6:43 pm #999580Leo
StaffCustomer SupportHi there,
1. Hmm someone else just had the same issue.
Can you try this step here:
https://generatepress.com/forums/topic/error-2/#post-999541And see if you get the same error?
https://generatepress.com/forums/topic/error-2/page/2/#post-9995542. There is actually no mobile-specific options for
<h3>
to<h6>
currently.CSS is required:
@media (max-width: 768px) { h3 { font-size: 15px; } }
Adding CSS: https://docs.generatepress.com/article/adding-css/
Let me know ๐
September 2, 2019 at 7:14 pm #999585Math
Hi,
1. I get a somewhat similar error and I have Google Adsense running into the footer.
Uncaught DOMException: Failed to set the ‘domain’ property on ‘Document’: Assignment is forbidden for sandboxed iframes.
at https://staticxx.facebook.com/connect/xd_arbiter.php?version=44:1:118
The resource https://pagead2.googlesyndication.com/pagead/js/r20190826/r20190131/show_ads_impl.js was preloaded using link preload but not used within a few seconds from the window’s load event. Please make sure it has an appropriateas
value and it is preloaded intentionally.2. Ok. I’ll set up the necessary CSS for it.
September 2, 2019 at 8:59 pm #999634Leo
StaffCustomer Support1. Can you please do a test to disable the Google Adsense code in the footer and see if the issue is fixed?
September 3, 2019 at 6:06 am #999879Math
1. I disabled it and the customizer works fine. Is there a workaround for it or do I keep needing to remove AdSense every time I need to customize changes?
September 3, 2019 at 6:21 am #999894David
StaffCustomer SupportHi there,
how are you adding the Adsense codes?
If it is via a GP Hook then in the Display Rules, try setting the User rule to Logged out.September 3, 2019 at 6:56 am #999927Math
Hi,
I’m copying and pasting the code into Text widget. Do I need to make it into a hook? I prefer not to because it works well when it’s within the footer.
September 3, 2019 at 7:20 am #999941David
StaffCustomer SupportCan you test using a HTML Widget instead?
If still broken, try a plugin like widget logic:
https://en-gb.wordpress.org/plugins/widget-logic/
then you can add the:
!is_user_logged_in()
condition to widgetSeptember 3, 2019 at 8:07 am #1000101Math
Tried both and neither seems to be working.
With widget logic, the condition seems to work and hides the footer when I’m logged in but still face the same issue.
September 3, 2019 at 12:14 pm #1000293Leo
StaffCustomer SupportI checked with Tom on this and he said that there shouldn’t be an issue if the ads/code are set up correctly.
Can you copy and paste the code you’ve added using a text widget here? Make sure to highlight them and click the code button in the editor.
Looks like some code is supposed to go in the
<head>
:
https://support.google.com/adsense/answer/9187160?hl=en&visit_id=637031347457940187-2638923874&rd=1Let me know ๐
September 3, 2019 at 3:14 pm #1000420Math
Hi,
Please see below
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- Wonderkinder-Footer --> <ins class="adsbygoogle" style="display: block;" data-ad-client="ca-pub-1704231763510277" data-ad-slot="8724668387" data-ad-format="auto" data-full-width-responsive="true"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script>
September 3, 2019 at 5:03 pm #1000463Tom
Lead DeveloperLead DeveloperI found this: https://wordpress.org/support/topic/customizer-problem-blank-browser-screen-with-small-scroll-window/
Seems strange. Is that an Auto-Ad?
September 3, 2019 at 6:13 pm #1000488Math
Hi,
It is strange and his issue sounds identical to my issue. If I remove the ad unit then everything seems to be working again.
No it’s not Auto-Ad. Just a standard ad unit (mobile friendly).
September 4, 2019 at 10:22 am #1001085Tom
Lead DeveloperLead DeveloperI found this as well: https://www.ads-links.com/google-adsense-code-breaks-wordpress-customizer-beaver-builder-themer-and-elementor-page-builders/
It seems to be a new issue with the new ad units and the Customizer. The solution, for now, is to use an Ad Blocker or make it so the ads only show up for logged out users.
September 4, 2019 at 8:21 pm #1001342Math
Thanks for looking into it. Doesn’t seem a solution is available now…so I’ll just go with the workaround for now.
-
AuthorPosts
- You must be logged in to reply to this topic.