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 Mihai Apetrei 2 months, 2 weeks ago.

Assigned support staff: Mihai Apetrei.

Author Posts
August 10, 2019 at 1:29 pm #4375403

peterS-128

I don't want to display country flag in the primary menu.

There are many small flags in the right of menu, it is not good look. please advise me how to fix that.

hidden link

August 10, 2019 at 8:25 pm #4375929

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi and thank you for contacting WPML Support!

I will be happy to help you with this.

From what I can see in the code on the site, that area with many flags one next to each other is not generated by our plugin. What is generated by our plugin is the dropdown section that comes right after the "Contact Us" page.

This is the piece of code that is generating that flags section that you want to remove:

<li class="av-language-switch-item language_en avia_current_lang">

You could use the following CSS to make that section disappear:

.av-language-switch-item {
    display: none !important;
}

But my recommendation would be for you to find out if this is an option that comes with the theme that you are using or with one of the other plugins that you are using and disable that functionality.

I hope that you will find this information helpful.

Please let me know how that goes.

Kind regards,
Mihai Apetrei