I am a new user of this great tool. I'm trying to build a pretty basic site but I have ran into a problem when I tried editing the look and feel of my left navigation.
For your reference here is my test site - http://www.naomhmearnog.ie/index.php (Excuse my design skills, a lot more changes planned!!
I changed the colour scheme for the left nav link blocks and it worked fine. Here is an extract of my "Navigation: CSSMenu - Vertical" stylesheet code after I just changed the basic colours and added some background images:
#primary-nav li, #primary-nav li.menuparent {
background-color: #000000; /* Default Bkg colour for the link blocks*/
min-height:1em; /* Fixes IE7 bug*/
background-image: url(uploads/images/static_bkg.gif); /* Main Default Bkg Image */
background-position: left;
background-repeat: no-repeat;
}
/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */
#primary-nav li.menuactive {
background-color: #F6B30A; /* changed the active colour from C7C7C7 to F6B30A*/
background-image: url(uploads/images/active_bkg2.gif); /* Main Active Bkg Image */
background-position: left;
background-repeat: no-repeat;
}
/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */
#primary-nav li.menuparent,
#primary-nav li.menuparent:hover,
#primary-nav li.menuparenth {
background-image: url(uploads/images/sub_menu2.gif); /* Main Default Sub Menu Bkg Image */
background-position: left;
background-repeat: no-repeat;
}
/* Styling the apperance of menu items on hover */
#primary-nav li:hover,
#primary-nav li.menuh,
#primary-nav li.menuparenth,
#primary-nav li.menuactiveh {
background-color: #645B5B; /* changed the hover link colour from E7AB0B to 645B5B*/
background-image: url(uploads/images/hover_bkg.gif); /* Main Hover Bkg Image */
background-position: left;
background-repeat: no-repeat;
}
As you can see from accessing my test site the sub menu link (Teams) isn't working correctly. I have tried editing the code for the sub menu code to reflect the background images I wanted but I can't get it to work 100%. I can't work out where to place the hover(sub_menu1.gif) and active(sub_menu.gif) "background-image: url(etc);" code so that they are displayed correctly.
I don't understand where and how the "#primary-nav li.menuparenth { " tag applies?
Apologies if this is a basic question but I'm only starting to learn the tool and css in general.
Any help appreciated
Regards,
Aidan

