Main menu on translated page

Multipurpose WordPress Theme Forum Support
GK User
Mon Jan 25, 2016 12:36 pm
Hi.

The main menu on my translated pages does not display the same than on the main language pages.

This is the answer from WPML support:
It looks like the issue is from the theme.
I am not sure why the menu elements have "cz" in their ids. Please see my attachment.
If I remove them, your menu displays correctly.
Please contact with your theme support about this.
I think it should be resolved in their code.


URL to the website: http://lishinu.bordomat.com/?page_id=2194&lang=cs

Thank you.
M
User avatar
Senior Boarder

Joshua M
Tue Jan 26, 2016 9:07 am
Hi,

Try to add the following custom css code:
Code: Select all
.menu-shop-now-menu-cz-container {
    float: right;
    margin-top: -1px;
}

.menu-main-menu-cz-container {
    display: block;
    float: left;
}
User avatar
Moderator

GK User
Tue Jan 26, 2016 10:57 pm
Hi Joshua.

That will work, but that means I or the user have to add to css every time there is a new language added to the page.

Is there a php solution?

Thanks.

M
User avatar
Senior Boarder

Joshua M
Wed Jan 27, 2016 9:30 am
Hi,

It's a temporary solution - we'll try to find the source of the issue and fix it. (The solution will be added to next theme updates ).
User avatar
Moderator


cron