Re: How do I add the current class to related pages?

Home Forums Older releases 0.9.x How do I add the current class to related pages? Re: How do I add the current class to related pages?

#1651
admin
Keymaster

Hi! Unfortunately, you can’t make it work automatically if the links to child pages are not in the menu tree since there is no way the script to know the page relations in that case.

So you are left with the option to manually set the “current” class to the appropriate menu items on child pages. You will need to check server-side which are the parent items of the current page and output the “current” class accordingly.

Register

You will be emailed a link to set your password.

Login

Lost password?