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

Last updated by jean-charlesH 12 months ago.

Assigned support staff: Riffaz.

Author Posts
October 25, 2018 at 9:17 pm #2851179

jean-charlesH

I am trying to: Make the flag(s) appear in the same line as the top menu items.

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

October 26, 2018 at 7:02 am #2852081

Riffaz
Supporter

Languages: English (English )

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

Hi Jean,

Your them is overriding some WPML styles.
Add this code to your theme custom CSS options or at the very bottom of Appearance > Editor > Style.css

.mkdf-page-header #menu-top-menu li img.wpml-ls-flag { display: inline-block !important; }

Let me know the results, please.

Regards,
Riffaz.

October 26, 2018 at 12:20 pm #2852945

jean-charlesH

Dear Riffaz, thank you for your reply. I added the CSS snippet to the child themes stylesheet but unfortunately nothing changes.

October 26, 2018 at 12:54 pm #2853049

Riffaz
Supporter

Languages: English (English )

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

Hi Jean,

I do not see the code I gave you in the source code of your site now.
Something is not correct.

Please add this code and give me an update.

.mkdf-page-header a img {
    display: inline-block;;
}

If that does not help please let me know your site login credentials to look at this closely.

Regards,

October 26, 2018 at 1:09 pm #2853089

jean-charlesH

My issue is resolved now. Thank you! (My mistake, your code worked great, I had the main theme switched on instead of the child theme.)