Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are trying to style the flags dropdown to fit the width of the flags only. It appears correctly when logged into WordPress but not when logged out. The dropdown shows a large black gap on the right of the flags.
Solution:
We recommend clearing your server cache as the issue might be related to caching.
If this solution does not apply to your case, or if it seems outdated, please check the related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. We highly recommend opening a new support ticket if the issue persists. You can do so at WPML support forum.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 1 reply, has 0 voices.

Last updated by Kor 1 week, 3 days ago.

Assisted by: Kor.

Author Posts
October 13, 2025 at 2:49 pm #17480269

suzanneL-8

Background of the issue:
I am trying to style the flags dropdown so it only fits the width of the flags. It works when logged into WordPress but not when logged out. You can see the issue on this page: hidden link

Symptoms:
The width of the dropdown black box has a large black gap on the right of the flags instead of having the same padding on the left and right.

Questions:
Why does the dropdown styling work when logged in but not when logged out?
How can I adjust the dropdown width to eliminate the gap on the right?

October 13, 2025 at 3:43 pm #17480550

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for contacting us. This could be a cache related issue and could you please try clearing your server cache?

If the issue continues, I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.

Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.

Your upcoming reply will be treated with confidentiality and will only be visible to you and me.

✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.