• Resolved bryceharvey

    (@bryceharvey)


    Hello all!

    I’m running into an issue on a website. (WordPress, Kadence theme, GTranslate free plugin, “Nice dropdown with flags” widget style, positioned bottom right). Only one widget instance is configured in Settings > GTranslate, but I’m seeing an unstyled white banner rendering above the site header on every page, both in English and translated views. It disappears completely when I deactivate GTranslate, confirming the plugin is the source.

    When I viewed the raw page source (not just the browser’s rendered DOM), I found two separate GTranslate widget instances loading on the same page load, each with its own config block and its own widget script:

    – gt-wrapper-11882425 (window.gtranslateSettings[‘11882425’])
    – gt-wrapper-27941741 (window.gtranslateSettings[‘27941741’])

    Each has its own <script> block calling gt_widget_script_{id}-js-before and its own dwf.js instance. I only have one widget configured in the settings, and I’ve confirmed there’s no manually placed widget or shortcode anywhere in Appearance > Widgets or the Kadence Customizer footer sections. The widget ID also appears to change between page loads/views, which suggests it may be getting regenerated rather than staying stable.

    The site runs SiteGround Optimizer with JS/CSS combine and minify enabled, so I suspect this may be a caching or script-execution-order conflict, but wanted to flag it directly in case it’s a known issue with how the plugin generates widget instance IDs.

    Could you help me identify why two instances are loading, and how to resolve it? Happy to share full page source or screenshots if helpful.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author edo888

    (@edo888)

    Hi,

    I have checked and I believe it is caused by global-styles-inline-css inline style definition:

    :where(.wp-site-blocks) > * { margin-block-start: 24px; margin-block-end: 0; }

    Also, make sure to remove Custom CSS code from GTranslate, it is redundant currently.

    Thanks! 🙂

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.