WMPL language switcher in main menu

Posted in: Newsmag
Post count: 114

Hi,

I have a problem and the WPML already tested it and came to the conclusion, if the Newsmag Themeand the tagDiv Composer is activated, there will be an issue with the language switcher in the menu: if the language is set to “german”, I see all the other languages (english, spanish) but If I switch to english or spanish, the menu item “german” disappears.

See screenshot: https://cdn6.eronite.com/images/wpml.jpg

In the footer the language switcher is correct.

So what can we do?

Thanks in advance,
Luke

Post count: 20688

Hi,

From what I can see it’s a CSS issue, the third language is there but invisible. I will test this on my end with 3 or more languages and try to recreate it, it will be fixed.

The quickfix is to enter this code in the Custom CSS section of the theme panel
https://prnt.sc/os4pay

.wpml-ls-item ul {
padding-top: 48px;
}

Let me know.
Thanks

Post count: 114

Hi Simion,

that works. Thanks!

Best regards,
Luke

Post count: 114

Simion,

now a have space if I choose the german language: http://cdn6.eronite.com/images/wpml2.png

How can I avoid this?

Post count: 20688

Hi,

I could modify the code, try it like this

#td-header-menu .menu-item-wpml-ls-2-en ul,
#td-header-menu .menu-item-wpml-ls-2-es ul {
padding-top: 48px;
}

I have also made some tests on my end with multiple languages, it is the same. Once I switch from the main language, I can’t switch back to it. So I start with English as default – https://prnt.sc/oshayr if I change the language I can’t see English anymore
https://prnt.sc/oshb7b
It isn’t a functionality issue, some CSS will fix it. Let me know if that code works better, remove the previous one.

Thanks

Post count: 114

Hi Simion,

now ist works, thank you!

Btw: great theme!

Best regards,
Luke

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newsmag’ is closed to new topics and replies.