-
AuthorPosts
-
August 20, 2014 at 3:35 am #306585
Hi,
in my site I have some pages with the same name/slug in different languages (using WPML) and I don’t want to use different slugs. Unfortunately the menu is not working that way. The red underline does not stay in the secondary language (DE). Is there a way to solve this. Thanks.
Cheers, TomAugust 20, 2014 at 1:26 pm #306819Hi yoginthusiast!
Can you post a link to your website please and provide a link to a sample page where we can reproduce the problem?
Best regards,
PeterAugust 20, 2014 at 2:21 pm #306841This reply has been marked as private.August 21, 2014 at 2:04 pm #307351Hey!
It seems like WordPress doesn’t detect the page as “current page item” and because of the missing class the theme won’t add the underline to the menu links. I’m not sure what causes the issue though. Please create me an admin account and post the login credentials as private reply.
Regards,
PeterAugust 21, 2014 at 3:15 pm #307388This reply has been marked as private.August 22, 2014 at 8:16 am #307632Hey Tom!
Try adding this code to the Quick CSS:
.current_page_parent > a > .avia-menu-fx{ opacity: 1; visibility: visible; }
Cheers!
JosueAugust 22, 2014 at 10:40 am #307753Hi Josue,
I tried it but nothing has changed.
Kind regards, TomAugust 22, 2014 at 10:57 am #307760August 23, 2014 at 5:41 pm #308253Hi Peter,
thank you for your help. I did not realize that my version was outdated. It seems to work now. However now I am not able to show my language switcher in the top menu. I am trying to set the top menu as location within the WPML settings for Englisch then switched to the settings for German and also selected top menu as location. After that the location settings for English were set back to default automatically (“-select-“). Strange behaviour.
Is this an issue with Enfold or WPML?Thanks for your help. Cheers, Tom
August 23, 2014 at 6:42 pm #308262Hi again,
problem solved. It was my mistake. I had a workaround in functions.php that was helping me with the older WPML version. After deleting this it all works fine now. Thank you all so much for your stunning support. Very much appreciated.
Cheers, Tom
-
AuthorPosts
- The topic ‘Main Menu not working when using slugs twice, WPML’ is closed to new replies.