You need to add the 'active' class to the li containing the element you want to have appear highlighted. Since you are staying on one page, I would assume you are using js to move between sections; you could insert some additional js to handle management of the active element.
On Friday, May 18, 2012 12:51:00 PM UTC-7, Daniel Chen wrote: > > Hi, > > I'm trying to implement a one page lay out, where clicking on a link > button in the navigation bar moves between different sections of the > webpage. However, when I click on the link buttons, they do not highlight > according to which section they are in. How can I fix this? I would like > to have something like http://mosh.mit.edu > > All the Best, > > Dan >
