slazt
Forum Replies Created
-
Hi,
I checked on an alt computer and I confirm it works just fine (don’t know why on my main computer, even after clearing cache and cookies…)
Thanks for your help and have a nice day!
Hi,
It seems to work on the mobile and website under Chrome (after purge) but not under firefox. Weird!
Regards
Hi Jarno,
Thanks for the answer.
I replaced the show banner on click function and now the button doesn’t show up anymore. Is there another setting I should change ?Thanks
StephaneMy bad I was thinking about “orientation: landscape”…
It does work !
ThanksHi @jarnovos ,
Cloudflare CDN cleared and Cache cleared also and turned off (WP fastest cache)=>
Strange it only works with
.cc-revoke {display:none!important;}
but doesn’t for
@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (orientation: portrait) { .cc-revoke {display:none!important; } }
I’m using my “iPhone 11” and my son’s “Xiaomi Redmi Note 10S”
Thanks for your help
Regards,
Stephane- This reply was modified 3 years, 6 months ago by slazt.
Hi @jarnovos
Thanks for your quick reply. Before I asked for support, I tried that already, though it was under “Complianz > settings > Custom CSS style “. I just tried it your proposal under “Appearance > Customize > Additional CSS” but it doesn’t work even if I push max-device-width to 1792px (iPhone 11).
Sorry!Regards,
StephaneIt actually works fine now!
Thank for your help @edo888
Have a nice dayAdditional feedback: It works with Chrome but not with Firefox or Edge
@edo888 Hi and thanks for the help.
It’s indeed microseconds, but when I run across “problems” i like to understand and solve them if possible.I tried to update the wigdet code section with slight changes (pageLanguage to french et the 10 included languages I use):
function googleTranslateElementInit2() {new google.translate.TranslateElement({pageLanguage: 'fr', includedLanguages: 'en,es,it,pt,de,fr,ru,nl,ar,zh-CN',autoDisplay: false}, 'google_translate_element2');}
but it doesn’t seems to change anything. I tried recreate a shortcode section (OceanWP theme / Elementor Pro) or with text editing section…
I still have these 109 nodes (small issue)
Thanks for your time
- This reply was modified 3 years, 10 months ago by slazt.
Thanks! ??
@airdrummer
I’ve been looking at the code you’ve provided, can’t make it work for the moment, but It’s getting clearer ??
Thank you so far !!No in fact, it doesn’t work !
Back with my issue !!!!Need some help ! GTranslate team ??
ThanksI found the solution. I was using the [Gtranslate] Shortcode but I changed to the widget code displayed in the settings…
@airdrummer
Thanks for replying. I have already selected 10 languages. This is not the issue.The issue is that Gtranslate create 109 hidden nodes (all languages) and only 10 of them are useful (in my case). If you inspect the code you will find after “.goog-te-combo” all the 109 languages nodes. If I manually delete the useless nodes, translation is still fine. So I tryied to change the .php file but haven’t find for the moment the place where to reduce hidden nodes to 10.
Anyway, this is an issue because GTmetrics and Google PageSpeed Insights rank your site and it add useless code.=>>> Avoid an excessive DOM size
“A large DOM will increase memory usage, cause longer style calculations, and produce costly layout reflows.”Thanks