Start a new discussion

To start a new discussion please visit the discussions section of the GitHub home page of the project.

Discussions on GitHub

You can also search our old self-hosted forums for any useful information below but please note that posting new content here is not possible any more.

Reply To: Changing sub-arrow on collapse

Home Forums Older releases 1.0.x Changing sub-arrow on collapse Reply To: Changing sub-arrow on collapse

#2681
admin
Keymaster

When a sub menu is displayed, the script adds the highlighted class to its parent item’s link and removes it again when the sub menu is hidden (provided the keepHighlighted: true option is used which is the case by default). So you could use that to change the sub-arrow’s background image – e.g. something like:

.menuClass a.highlighted span.sub-arrow {
	/* ... */
}