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 2 voices.

Last updated by Noman 3 months, 2 weeks ago.

Assigned support staff: Noman.

Author Posts
July 2, 2019 at 2:41 pm #4128039

evyS

Tell us what you are trying to do?
I'm trying to change the width of the language switcher dropdown menu while using a flag only menu. I'm using the suggest additional css as provided by wmpl but it doesn't work

Is there any documentation that you are following?
yes your help section suggests the following solution in additional css section:
li.wpml-ls-menu-item ul li a {
width: auto;
}
Is there a similar example that we can see?

What is the link to your site?
hidden link

July 2, 2019 at 3:07 pm #4128233

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting WPML Support. You can fix this issue by adding the following CSS in custom CSS section of the theme OR in WPML >> Languages > Additional CSS section:

.fusion-main-menu .wpml-ls-item .sub-menu {
	width:50px !important;
}

.fusion-main-menu .wpml-ls-item .sub-menu a {

	padding-left: 15px !important;
	padding-right: 0 !important;
}

And it will look as in the attached screenshot.

Thank you

The topic ‘[Closed] flag only language switcher dropdown’ is closed to new replies.