Ecotrust / ocs-wp

Worpress Implementation of ODFW's Oregon Conservation Strategy
Other
1 stars 0 forks source link

Left Sidebar Nav - highlights #59

Closed ldford closed 8 years ago

ldford commented 8 years ago

Perhaps this is because they are not yet formally a part of the left nav yet, but once you arrive at a piece of structured content (e.g. Acorn Woodpecker, below), the left nav no longer highlights where you are. (in this case it would be "Strategy Species - Birds"). All pages are highlighted correctly within left nav, including the species groups (birds, mammals, etc.). Maybe will be fixed once structured content is added to menu. But should keep in mind for COAs too.

image

image

dnseminara commented 8 years ago

I added the logic for the single-species pages, since it's different from the rest (not actually listing the species out in the sidebar)

screen shot 2015-12-17 at 4 12 46 pm

willthemoor commented 8 years ago

Drew, I'm sorry. I didn't see a notification that you assigned this to yourself! The whole structure of the menu got changed and I'm probably about to wipe this out.

Looking through other tickets assigned to you now to make sure we don't collide again.

dnseminara commented 8 years ago

No worries.

I just used a switch and jquery to implement the menu stuff for strategy-species. Wasn't that much effort.