Hi,
this is not specific Kentico thing, but a change to your Frontend.
You should make sure the non-clickable items are rendered to not do anything on click. Could be as simple as a javascript OnClick do nothing.
See for example this SF question:
https://stackoverflow.com/questions/19787997/how-to-prevent-anchor-tag-from-following-the-link-on-click-but-make-it-show-the