Drupal Question:
Does anyone have a method of using Views and highlighting a selected/current node.
So for example:
I have a list of articles under a heading:
2009 Articles
Dog Training
Cat Cleaning
Snake Wrangling
The 3 articles are made from the view (ie: latest articles from 2009)… as the user makes new articles, they are automatically added into this view by title.
I now need to find a way, that if a user clicks on say CAT CLEANING…. and the cat cleaning article appears, the CAT CLEANING in the view becomes bold (or some CSS indication it’s the current article.)
I know this is pretty easy with MENU’s, But I don’t want to force a user to add new articles into a menu.
Thanks alot, JD
Here is what you need to do:
The CSS will be something like this
Here we are using the “active” CSS pseudo class to color and underline the link if the URL in the view list item is the same URL as the web page.