There are several approaches to this, but if you are after a simple, I suggest adding a class to your body.
<body class="<%= params[:controller] %>_controller"> ... </body>
Then in your css you can do the following.
body.menus_controller #navigation a.menunav, body.drinks_controller #navigation a.drinknav { background-color : yellow color : blue }
This can get complicated if you have several pages that you want to split, but for this basic example this should be good.
Matthew Rudy
source share