BUG: Navigation Issue
Posted: Thu Apr 02, 2026 3:09 pm
I think this issue (feature?) is general and not related to the GregCustom theme. Please let me know!
Try this: replicate what I have at https://gregchapman.uk under the "Games" option.
That is a page with links to two sub-pages "Table" and "Board", with the two sub-pages visible on the menu system. Then create further sub-pages on both the "Board" and "Table" pages all set invisible on the menu system.
Now try navigating, using the sub-menu buttons, to the either the "Board" or "Table" pages and from there to one of the further sub-pages. You should find all works well.
However, I just discovered that if you open the "Games" page and follow the links to either "Board" or "Table" and from there to one of the multiple sub-pages you find yourself hitting the 404 page.
That's because when navigating via the sub-menu system the links from the "Board" page are in the correct form:
https://yourdomain/games/board/boardgame.html
but if navigating via the links to "Board" or "Table" from the "Games" page the links to the sub-pages appear in the form:
https://yourdomain/games/boardgame.html
A work around is not to have the links on "Games" as pages, but to include a trailing slash (/) to show them as folders (which I have implemented so the problem doesn't show up on the site any longer).
============
All this seems to me to be related to an issue I have been concerned about for some time:
If you create a sub-page and make it visible Wcms generates a menu item for the new sub-page and this normally relies the theme's CSS code to make it appear on hover. Unfortunately, that doesn't work on touch-screens as hover doesn't work when there isn't an independent pointer separate from your finger.
Additionally, Wcms is deliberately designed to retain a link at the item's parent level on the menu, so you need to create content for that page if the page is to be included in the menu, but there are not sufficient tags in the menu code to build CSS code that allows you to work around the lack of hover capability on a touch screen device.
Try this: replicate what I have at https://gregchapman.uk under the "Games" option.
That is a page with links to two sub-pages "Table" and "Board", with the two sub-pages visible on the menu system. Then create further sub-pages on both the "Board" and "Table" pages all set invisible on the menu system.
Now try navigating, using the sub-menu buttons, to the either the "Board" or "Table" pages and from there to one of the further sub-pages. You should find all works well.
However, I just discovered that if you open the "Games" page and follow the links to either "Board" or "Table" and from there to one of the multiple sub-pages you find yourself hitting the 404 page.
That's because when navigating via the sub-menu system the links from the "Board" page are in the correct form:
https://yourdomain/games/board/boardgame.html
but if navigating via the links to "Board" or "Table" from the "Games" page the links to the sub-pages appear in the form:
https://yourdomain/games/boardgame.html
A work around is not to have the links on "Games" as pages, but to include a trailing slash (/) to show them as folders (which I have implemented so the problem doesn't show up on the site any longer).
============
All this seems to me to be related to an issue I have been concerned about for some time:
If you create a sub-page and make it visible Wcms generates a menu item for the new sub-page and this normally relies the theme's CSS code to make it appear on hover. Unfortunately, that doesn't work on touch-screens as hover doesn't work when there isn't an independent pointer separate from your finger.
Additionally, Wcms is deliberately designed to retain a link at the item's parent level on the menu, so you need to create content for that page if the page is to be included in the menu, but there are not sufficient tags in the menu code to build CSS code that allows you to work around the lack of hover capability on a touch screen device.