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 thread is resolved. Here is a description of the problem and solution.

Problem:
In Language switcher, I would like the languages to be shown on the same line.

Solution:
You can fix this issue by adding following CSS in your theme’s or child theme's style.css file OR Custom CSS section of the theme:

.grve-menu .wpml-ls-item {
    width: auto !important;
}

.grve-menu .wpml-ls-item + .wpml-ls-item {
    margin-left: 15px;
}

This topic contains 2 replies, has 2 voices.

Last updated by loicT-4 1 year ago.

Assigned support staff: Noman.

Author Posts
October 4, 2018 at 1:27 pm #2787678

loicT-4

I am trying to: I would like the languages to be on the same line

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

I expected to see: ENG CAT on the same line

Instead, I got:

ENG

CAT

on two separate rows

October 5, 2018 at 1:59 pm #2791029

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 following CSS in your theme’s or child theme style.css file OR Custom CSS section of the theme:

.grve-menu .wpml-ls-item {
    width: auto !important;
}

.grve-menu .wpml-ls-item + .wpml-ls-item {
    margin-left: 15px;
}

And it will look as in attached screenshot. Thank you

October 5, 2018 at 4:37 pm #2791332

loicT-4

My issue is resolved now. Thank you!