Skip Navigation

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 4 replies, has 3 voices.

Last updated by steveK-13 1 year, 3 months ago.

Assisted by: Mohamed Sayed.

Author Posts
January 2, 2023 at 3:33 pm #12740587

steveK-13

Hi,

then checking the flags: hidden link

password: 12345

There are much white space, how to remove it?

Thx!

wpml flags.jpg
January 2, 2023 at 3:48 pm #12740741

Marcel
Supporter

Languages: English (English ) German (Deutsch )

Timezone: Europe/Madrid (GMT+02:00)

Hi,

before your ticket is assigned to one of my colleagues, please allow me to walk you through some initial debugging steps. This will help speed up the support process.

Your theme is adding 220px for any "UL" element. You can add CSS to style only that sub-menu class.

Here is an example:

ul.sub-menu {
max-width: 100px;
}

It seems the website got changed at the last minutes, so this class doesn't appear. I recommend changing it back, as it was in the same state when you reported that issue 1h ago.

Best Regards
Marcel

January 3, 2023 at 4:31 pm #12746499

steveK-13

Hi,

Tested different css codes, dont have it anymore. Any ideas how to only change flags layout?

January 3, 2023 at 6:02 pm #12746867

Mohamed Sayed

Hi Steve,

As Marcel mentioned, this space is added by the theme to all the sub-menu items.

Please try the following CSS:

.btMenuHorizontal.btMenuRight .menuPort > nav > ul > li:last-child > ul {
max-width: 60px;
}

Regards,
Mohamed

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.