Title: slazt's Replies | WordPress.org

---

# slazt

  [  ](https://wordpress.org/support/users/slazt/)

 *   [Profile](https://wordpress.org/support/users/slazt/)
 *   [Topics Started](https://wordpress.org/support/users/slazt/topics/)
 *   [Replies Created](https://wordpress.org/support/users/slazt/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/slazt/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/slazt/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/slazt/engagements/)
 *   [Favorites](https://wordpress.org/support/users/slazt/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Complianz - GDPR/CCPA Cookie Consent] Consent fixed button not working after update](https://wordpress.org/support/topic/consent-fixed-button-not-working-after-update/)
 *  Thread Starter [slazt](https://wordpress.org/support/users/slazt/)
 * (@slazt)
 * [4 years ago](https://wordpress.org/support/topic/consent-fixed-button-not-working-after-update/#post-15575274)
 * 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!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Complianz - GDPR/CCPA Cookie Consent] Consent fixed button not working after update](https://wordpress.org/support/topic/consent-fixed-button-not-working-after-update/)
 *  Thread Starter [slazt](https://wordpress.org/support/users/slazt/)
 * (@slazt)
 * [4 years ago](https://wordpress.org/support/topic/consent-fixed-button-not-working-after-update/#post-15574702)
 * Hi,
 * It seems to work on the mobile and website under Chrome (after purge) but not
   under firefox. Weird!
 * Regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Complianz - GDPR/CCPA Cookie Consent] Consent fixed button not working after update](https://wordpress.org/support/topic/consent-fixed-button-not-working-after-update/)
 *  Thread Starter [slazt](https://wordpress.org/support/users/slazt/)
 * (@slazt)
 * [4 years ago](https://wordpress.org/support/topic/consent-fixed-button-not-working-after-update/#post-15574568)
 * 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
    Stephane
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Complianz - GDPR/CCPA Cookie Consent] How to have a fixed button in the footer instead](https://wordpress.org/support/topic/how-to-have-a-fixed-button-in-the-footer-instead/)
 *  Thread Starter [slazt](https://wordpress.org/support/users/slazt/)
 * (@slazt)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/how-to-have-a-fixed-button-in-the-footer-instead/#post-14934234)
 * Hi [@aahulsebos](https://wordpress.org/support/users/aahulsebos/),
 * Works perfectly, thank you very much!
 * Regards,
    Stephane
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Complianz - GDPR/CCPA Cookie Consent] Consent Button always showing on portrait mode mobile](https://wordpress.org/support/topic/consent-button-always-showing-on-portrait-mode-mobile/)
 *  Thread Starter [slazt](https://wordpress.org/support/users/slazt/)
 * (@slazt)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/consent-button-always-showing-on-portrait-mode-mobile/#post-14831202)
 * My bad I was thinking about “orientation: landscape”…
    It does work ! Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Complianz - GDPR/CCPA Cookie Consent] Consent Button always showing on portrait mode mobile](https://wordpress.org/support/topic/consent-button-always-showing-on-portrait-mode-mobile/)
 *  Thread Starter [slazt](https://wordpress.org/support/users/slazt/)
 * (@slazt)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/consent-button-always-showing-on-portrait-mode-mobile/#post-14831182)
 * Hi [@jarnovos](https://wordpress.org/support/users/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 4 years, 8 months ago by [slazt](https://wordpress.org/support/users/slazt/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Complianz - GDPR/CCPA Cookie Consent] Consent Button always showing on portrait mode mobile](https://wordpress.org/support/topic/consent-button-always-showing-on-portrait-mode-mobile/)
 *  Thread Starter [slazt](https://wordpress.org/support/users/slazt/)
 * (@slazt)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/consent-button-always-showing-on-portrait-mode-mobile/#post-14831005)
 * Hi [@jarnovos](https://wordpress.org/support/users/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,
    Stephane
    -  This reply was modified 4 years, 8 months ago by [slazt](https://wordpress.org/support/users/slazt/).
    -  This reply was modified 4 years, 8 months ago by [slazt](https://wordpress.org/support/users/slazt/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Translate Wordpress with GTranslate] [GTransalte] Avoid an excessive DOM size](https://wordpress.org/support/topic/gtransalte-avoid-an-excessive-dom-size/)
 *  Thread Starter [slazt](https://wordpress.org/support/users/slazt/)
 * (@slazt)
 * [5 years ago](https://wordpress.org/support/topic/gtransalte-avoid-an-excessive-dom-size/#post-14426644)
 * It actually works fine now!
    Thank for your help [@edo888](https://wordpress.org/support/users/edo888/)
   Have a nice day
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Translate Wordpress with GTranslate] [GTransalte] Avoid an excessive DOM size](https://wordpress.org/support/topic/gtransalte-avoid-an-excessive-dom-size/)
 *  Thread Starter [slazt](https://wordpress.org/support/users/slazt/)
 * (@slazt)
 * [5 years ago](https://wordpress.org/support/topic/gtransalte-avoid-an-excessive-dom-size/#post-14424622)
 * Additional feedback: It works with Chrome but not with Firefox or Edge
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Translate Wordpress with GTranslate] [GTransalte] Avoid an excessive DOM size](https://wordpress.org/support/topic/gtransalte-avoid-an-excessive-dom-size/)
 *  Thread Starter [slazt](https://wordpress.org/support/users/slazt/)
 * (@slazt)
 * [5 years ago](https://wordpress.org/support/topic/gtransalte-avoid-an-excessive-dom-size/#post-14424466)
 * [@edo888](https://wordpress.org/support/users/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 5 years ago by [slazt](https://wordpress.org/support/users/slazt/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Translate Wordpress with GTranslate] [GTransalte] Avoid an excessive DOM size](https://wordpress.org/support/topic/gtransalte-avoid-an-excessive-dom-size/)
 *  Thread Starter [slazt](https://wordpress.org/support/users/slazt/)
 * (@slazt)
 * [5 years ago](https://wordpress.org/support/topic/gtransalte-avoid-an-excessive-dom-size/#post-14421543)
 * Thanks! 😉
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Translate Wordpress with GTranslate] [GTransalte] Avoid an excessive DOM size](https://wordpress.org/support/topic/gtransalte-avoid-an-excessive-dom-size/)
 *  Thread Starter [slazt](https://wordpress.org/support/users/slazt/)
 * (@slazt)
 * [5 years ago](https://wordpress.org/support/topic/gtransalte-avoid-an-excessive-dom-size/#post-14420451)
 * [@airdrummer](https://wordpress.org/support/users/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 !!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Translate Wordpress with GTranslate] [GTransalte] Avoid an excessive DOM size](https://wordpress.org/support/topic/gtransalte-avoid-an-excessive-dom-size/)
 *  Thread Starter [slazt](https://wordpress.org/support/users/slazt/)
 * (@slazt)
 * [5 years ago](https://wordpress.org/support/topic/gtransalte-avoid-an-excessive-dom-size/#post-14418961)
 * No in fact, it doesn’t work !
    Back with my issue !!!!
 * Need some help ! GTranslate team ??
    Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Translate Wordpress with GTranslate] [GTransalte] Avoid an excessive DOM size](https://wordpress.org/support/topic/gtransalte-avoid-an-excessive-dom-size/)
 *  Thread Starter [slazt](https://wordpress.org/support/users/slazt/)
 * (@slazt)
 * [5 years ago](https://wordpress.org/support/topic/gtransalte-avoid-an-excessive-dom-size/#post-14417480)
 * I found the solution. I was using the [Gtranslate] Shortcode but I changed to
   the widget code displayed in the settings…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Translate Wordpress with GTranslate] [GTransalte] Avoid an excessive DOM size](https://wordpress.org/support/topic/gtransalte-avoid-an-excessive-dom-size/)
 *  Thread Starter [slazt](https://wordpress.org/support/users/slazt/)
 * (@slazt)
 * [5 years ago](https://wordpress.org/support/topic/gtransalte-avoid-an-excessive-dom-size/#post-14417466)
 * [@airdrummer](https://wordpress.org/support/users/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

Viewing 15 replies - 1 through 15 (of 15 total)