- This topic has 7 replies, 2 voices, and was last updated 9 years, 1 month ago by
Tom.
-
AuthorPosts
-
February 2, 2017 at 8:05 am #273304
Christian
While testing our website on mobile devices, we noticed that the language selection (German/English) is not available or rather: can not be found. How can we change that? Furthermore, the side menu shows us a “No Access-Button” which usually is not on our website. We would like to know how to fix this.
Thank you in advance
February 2, 2017 at 9:12 am #273344Tom
Lead DeveloperLead DeveloperHi there,
Can you link me to your site so I can see what you mean?
February 8, 2017 at 12:23 am #275847Christian
Hi, it’s http://www.cmp-beratung.com
as said before, only the mobile version does not work. I’d be grateful if you could help meFebruary 8, 2017 at 9:49 am #276148Tom
Lead DeveloperLead DeveloperSo I’m assuming that plugin adds the picker automatically to your primary menu?
Does the plugin provide a function we can use to place the picker in other locations?
February 9, 2017 at 1:43 am #276439Christian
Hi Tom,
right, probably the download monitor plugin adds the no access page automatically. Unfortunatly, I couldn’t find a function to place the picker in other locations within the plugin settings.
2. The “language-switcher-button” of the Polylang Plugin which is correct shown at the desktop menu will not shown on mobile devices instead the switcher button is added in the menu-settings.
Thank you for your support
February 9, 2017 at 12:36 pm #276695Tom
Lead DeveloperLead DeveloperIt looks like you can use a function: https://polylang.wordpress.com/documentation/frequently-asked-questions/the-language-switcher/
So we can try this:
add_action( 'generate_inside_mobile_menu_bar', 'tu_add_mobile_language_switcher' ); function tu_add_mobile_language_switcher() { if ( function_exists( 'pll_the_languages' ) ) { pll_the_languages(); } }February 13, 2017 at 2:13 am #278045Christian
Hi Tom,
we added the code that you sent to us, but if you take a look at our website with your mobile device you’ll see that the languages cover the menu item. Do you know how to fix this?In addition we still can not hide the “No Access” Button on the menu. any idea how to solve this?
Thank you for your support.
February 13, 2017 at 10:24 am #278217Tom
Lead DeveloperLead DeveloperHere’s what I’m seeing: https://www.screencast.com/t/icp1kW36NK1y
I wonder if they have a function to show the flags instead – might be worth asking their support team?
Not seeing any overlapping or no access button.
-
AuthorPosts
- You must be logged in to reply to this topic.