Please make sure to update to WPML 4.3.6 and check our list of Known Issues before reporting

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 Noman 7 months, 1 week ago.

Assigned support staff: Noman.

Author Posts
July 10, 2019 at 10:54 am #4178999



I wanted to add a WPML switcher in the mobile/tablet header. I know that this is the code I need to use: do_action('icl_language_selector');

And I managed to find the right location to put it. The thing is I can't seem to be able to fit it correctly. I mess up my header and I want it to fit correctly. I don't know if this is a custom CSS problem or what.

I've attached a screenshot of what the problem looks like. I need the switcher to fit right beside the search icon from the left. Like the example I've also attached. I've also attached a screenshot of what the normal header looks like without the WPML code.

My website is:

''I removed the code for now till I figure out how to do it.''

Can you help me here? That'd be a great help.

Thank you.

July 10, 2019 at 3:45 pm #4182257


Languages: English (English )

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


Thank you for contacting WPML Support. To take a closer look on this issue, please provide temporary access (WP-Admin and FTP Login info) to your site (preferably staging site), so that I can look into your setup and debug the issue.

Your next answer will be private which means only you and I have access to it.

=== Please backup your database and website ===

✙ I would additionally need your permission to de-activate and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important.

Thank you

The topic ‘[Closed] Adding WPML switcher in mobile header’ is closed to new replies.