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 zofiaK-3 11 months, 3 weeks ago.

Assigned support staff: Riffaz.

Author Posts
October 30, 2018 at 2:44 pm #2862267

zofiaK-3

Hi,
I migrated polylang to wmpl today, and everything I think works well except my menu.
I would like to have menu exactly as I had with Polylang. I attached file. I would like to have flags inline, instead of dropdown, and I don't want to have language switcher in my menu.

If you will have trouble to see all my content menu this is because I added custom css which one works well with polylang. I know I will have to play with WPML a little bit to achieve same look.

Please let me know if also is possible to us US flag instead of British
thank you

October 31, 2018 at 7:09 am #2864549

Riffaz
Supporter

Languages: English (English )

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

Hi,

Thank you for contacting WPML support.

I would like to have flags inline, instead of dropdown
1. Go to WPML > Languages > Menu Language switcher
2. Click on the pencil icon.
3. Change the look as you want (where you can change drop down to inline as well)

I don't want to have language switcher in my menu.
This falls in custom work which is out of our support scope.
These will help you to achieve what you want.
1. https://wpml.org/tutorials/language-switchers/
2. https://wpml.org/documentation/getting-started-guide/language-setup/custom-language-switcher/

If you unable to get what you want please consider contacting one of our certified partners from this link: http://wpml.org/documentation/support/wpml-contractors/

You will get the custom assistance you need to get on with your project.

Before doing so please have a look also here: http://wpml.org/documentation/support/wpml-contractors/guidelines-for-people-looking-for-consulting-help/

US flag instead of British
Please follow below steps in order to use custom flags.

1. Upload your flag images to WPML >> Languages >> Edit Languages. This will upload your files, but resize them to 12x18

2. If you want to resize flag dimensions then with FTP program, go to wp-content/uploads/flags and upload your flag images again, overwriting the flag images that were uploaded in Step #1

3. In your custom CSS, add this code:

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

Relevant Documentation:
hidden link
https://wpml.org/forums/topic/how-to-change-english-flag-to-us-flag/#post-2638289

Let me know the results, please.

Regards,
Riffaz.

October 31, 2018 at 5:56 pm #2867068

zofiaK-3

My issue is resolved now. Thank you!