What can we do to make it easier to design with Wild Apricot?

Make a Parent Menu That Has Children Non-Clickable

I found this Help page that outlines exactly what I need to do:


But I cannot get the execution to yield the correct results. The link says to copy and paste the CSS script into the 'Global javascript' section. Easy enough. Then I am supposed to add the PageID into the second to last line of code where the copied script currently has ("12345"). So, let's say the PageID that I want to hide is 1689200. So does my code look like this:


or without quotes:


or without the PAGEID prefix:

disableLink("1689188"); OR disableLink(1689188);

I am using the Aurora Horizontal Red template. I have no other code in the Global Javascript. But nothing I do disables that first level parent link. It still allows the user to click on it instead of forcing them to use one of the underlying 2nd level child links.

0 votes
Sign in
Password icon
Signed in as (Sign out)

We’ll send you updates on this idea

wchester shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

1 comment

Sign in
Password icon
Signed in as (Sign out)
  • Konstantin commented  ·   ·  Flag as inappropriate

    Hi, my name is Konstantin and I am Theme development team lead.

    disableLink("1689200") ; This is the correct one.

    Just follow the rest of the help instructions and it will work. Also check if you have right Page ID.

    Hope this helps.

Feedback and Knowledge Base