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

Last updated by Angela 1 year ago.

Assigned support staff: Riffaz.

Author Posts
September 26, 2018 at 2:47 am

Angela

I am trying to: I would like to center the language switcher widget within the header sidebar when it is in the browser screen is the responsive mobile size. The same as the rest of the header components. I can't seem to find the right .css.

Link to a page where the issue can be seen: hidden link

I expected to see: the language switcher centered

Instead, I got: the language switcher aligned left.

September 26, 2018 at 7:14 am #2766099

Riffaz
Supporter

Languages: English (English )

Timezone: Asia/Colombo (GMT+05:30)

Hi,

Thank you for contacting support forum.

Add this custom css to WPML > Languages > Additional CSS and save: hidden link

Take the code from here please : https://pastebin.com/KY1Pg0Ny

@media only screen and (max-width: 767px) {
.wpml-ls-legacy-dropdown { margin: 0 auto; }
}

Let me know.

Regards,
Riffaz.

September 26, 2018 at 11:58 am #2767060

Angela

My issue is resolved now. Thank you!