Archived topic
Customization Option + Font Sizes
17 replies · Started by Math on September 2, 2019
Hi there,
1. Hmm someone else just had the same issue.
Can you try this step here:
https://generatepress.com/forums/topic/error-2/#post-999541
And see if you get the same error?
https://generatepress.com/forums/topic/error-2/page/2/#post-999554
2. 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 :)
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 appropriate as value and it is preloaded intentionally.
2. Ok. I'll set up the necessary CSS for it.
1. Can you please do a test to disable the Google Adsense code in the footer and see if the issue is fixed?
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?
Hi 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.
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.
Can 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 widget
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.
I 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=1
Let me know :)
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>
I found this: https://wordpress.org/support/topic/customizer-problem-blank-browser-screen-with-small-scroll-window/
Seems strange. Is that an Auto-Ad?
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).
I 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.
Thanks for looking into it. Doesn't seem a solution is available now...so I'll just go with the workaround for now.