I started with a html/css site that had a properly working navigation menu. When you were on the home page it had the home page link in the navigation menu highlighted, on the about page the about link highlighted, etc.
Since I have turned this into a theme, that is the only thing that I can not get to transfer over into drupal. I haven't changed the css, does drupal call this something different than what I am used to? Every other part of the navigation menu works as it should. My css code is below.
#nav ul li {
list-style-type: none;
display: inline;
}
#nav li a {
float: left;
padding: 10px 18px 5px;
color: #999;
text-decoration: none;
font-size: 13px;
}
#nav li a:hover{ color: #eaeaea; background-color: #565656; }
#nav li a#current{ color: #99cc66; background-color: #333; }
Also this is what is in the page.tmp.php file for my navigation:
if ($main_menu):
<?php print theme('links__system_main_menu', array(
'links' => $main_menu,
'attributes' => array(
'id' => 'main-menu-links',
'class' => array('links', 'clearfix'),
),
'heading' => array(
'text' => t('Main menu'),
'level' => 'h2',
'class' => array('element-invisible'),