Content not updated on page transition
-
Hey so
I see you're using Custom CSS that uses the class "current-menu-parent"
That class is not set by lay theme and I will try to fix this now -
Ok, I'm releasing a small lay theme update today that properly sets "current-menu-parent" classes. Please use only these to make your type of submenu work.
Like
.current-menu-parent .sub-menu, .current-menu-item .sub-menu{ display: block; } .sub-menu{ display: none; } -
Ok, I'm releasing a small lay theme update today that properly sets "current-menu-parent" classes. Please use only these to make your type of submenu work.
Like
.current-menu-parent .sub-menu, .current-menu-item .sub-menu{ display: block; } .sub-menu{ display: none; }@arminunruh Great, thank you Armin. It's working well!
-
Actually, this isn't working properly yet: When you access a project directly through the URL (rather than through JS via the menu), the parent menu item only gets the class current-post-ancestor but not the current-menu-parent one, resulting in the submenu being invisible. Could you please look into this again?
-
Dear @brogr
I will let Armin know.
Thank you!Marius
-
Hey, I can see the error happening on your website. However, I cannot reproduce this on my lay theme. Can you send me your /wp-admin/ login and your ftp login data to info@laytheme.com ?
I will need to test and fix this on your website.
-
-
Hey, after further investigation,
I see the project you are refering to is this one:
https://2019.nomadicarchitecture.ch/projects/world-exhibitions-of-telecommunications-geneva/ibm-telecom-geneva-1-worldBut the project that is shown when clicking on the menu item "projects" -> "World Exhibitions of Telecommunications, Geneva" is this one:
https://2019.nomadicarchitecture.ch/projects/world-exhibitions-of-telecommunications-geneva/Also when you refresh this project, you'll see the menu works as expected:
https://2019.nomadicarchitecture.ch/projects/world-exhibitions-of-telecommunications-genevaAs far as I can see the problem is that your project you referred to is not linked in your menu at all.
-
Hi Armin,
https://2019.nomadicarchitecture.ch/projects/world-exhibitions-of-telecommunications-geneva/ is a category, not a project.
The project is https://2019.nomadicarchitecture.ch/projects/world-exhibitions-of-telecommunications-geneva/ibm-telecom-geneva-1-world -- but it's concerning all of them, so you can click on any of them.
-
I see, I fixed it on your website and it will be included with the next update!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login