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.

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Noman 7 months, 1 week ago.

Assigned support staff: Noman.

Author Posts
March 5, 2019 at 10:18 pm #3276307

juan-mb

I am trying to: add flags for translation to a header bar and need them horizontal

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

I expected to see:

Instead, I got: as you can see on the link at the left upper corner, the flags are vertical. I've added this code that I found in your replies from a different ticket in the Languages ->Aditional CSS section, still not working

#header-wrapper .header-widget-wrapper div.lang_sel_list_horizontal ul li {
width: 30px;
}

March 6, 2019 at 8:48 am #3277474

Noman
Supporter

Languages: English (English )

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

Hi,

Thank you for contacting WPML Support. You can fix this issue by using below CSS:

.wpml-ls-legacy-list-horizontal {
    border: 0;
    padding: 0;
}

.wpml-ls-legacy-list-horizontal .wpml-ls-item {
    width: auto;
    border: none;
}

.wpml-ls-legacy-list-horizontal a {
    padding: 5px 10px !important;
}
And it will look as in attached screenshot.

The topic ‘[Closed] Can't make widget horizontal’ is closed to new replies.