Google translate widget(Jetpack) not displaying properly on mobile

On mobile, the widget does not scroll to allow users to see all languages available (see pictures)
site is
i hope you can help me with this


Hey there,
I hope you’re doing well today

There seems to be an issue with the responsiveness
You consult this thread for a solution:

Best Regards,

there are many different solutions out there, i think this one may be the one:

  • Change the Google Translate Widget layout.
    function jeherve_dropdown_only_translate_layout() {
    return ‘google.translate.TranslateElement.InlineLayout.SIMPLE’;
    add_filter( ‘jetpack_google_translate_widget_layout’, ‘jeherve_dropdown_only_translate_layout’ );

but i dont know where to copy this code, i search in editor and jetpack plugin editor but i didn’t find place for this code, can you help me with this?


You have to create child theme of Sparkling theme and then add that code in the functions.php file of the child theme.

I gave up the google translate widget, I changed footer now and have another problem, and I will open a new topic.

Thanks anyway

You are most welcome :slight_smile: