I'm working on a site and *almost* have the navigation working the way I want. I'm obviously missing a couple things in my css but I can't seem to see it.
Demo site: http://polkcity.server307.com
On the site, the Hover and the Current Page seem to be working correctly. (Small caps, centered horizontally and vertically, hover graphic displaying)
However, the other states are not pulling the custom CSS inserts. (see below)
1. What do I need to change to make my non-hover, non-current page links format as small caps, centered horizontally and vertically, either with or without a background graphic?
2. There is a strange overlap from the menu onto the logo, seen as approx 20px of dark green. How do I remove that? I'm guessing it has something to do with having dark green loaded on ATA Page Menu Bar background, mainly because I couldn't figure out how to load nothing in that space.
3. Suggestions on how to center the background image when in hover and current page state? Either with CSS or possibly by making the graphic bigger and forcing set, uniform widths on each cell...
4. I'd hoped to format the drop down child-portion of the menu as standard ATA, no extra CSS. Advice on how to get the custom CSS off of these?
And, thank you JuggleDad and the ATA community, I couldn't have gotten this far without your help on the following posts:
http://forum.bytesforall.com/showthread.php?t=4697
http://forum.bytesforall.com/showthread.php?t=5814
http://forum.bytesforall.com/showthread.php?t=6015
Current CSS Insert
/* ================================================== */
/* Menu item */
/* ================================================== */
div#menu1 {
height: 54px;
margin-top:0px;
}
div#menu1 ul.rMenu li a:link {
height: 54px;
padding-top: 15px;
padding-left: 20px;
padding-right: 20px;
padding-bottom: 0px;
text-align: center;
align: center;
-x-system-font:none;
font-variant:small-caps;
border-bottom:1px solid transparent;
border-left:1px solid transparent;
border-right:1px solid transparent;
border-top:1px solid transparent;
border-style:solid;
background:transparent !important;
}
div#menu1 ul.rMenu li a:active {
height: 54px;
padding-top: 15px;
padding-left: 20px;
padding-right: 20px;
padding-bottom: 0px;
text-align: center;
align: center;
-x-system-font:none;
font-variant:small-caps;
border-bottom:1px solid transparent;
border-left:1px solid transparent;
border-right:1px solid transparent;
border-top:1px solid transparent;
border-style:solid;
background:transparent !important;
}
div#menu1 ul.rMenu li a:hover {
height: 54px;
padding-top: 15px;
padding-left: 20px;
padding-right: 20px;
padding-bottom: 0px;
text-align: center;
align: center;
-x-system-font:none;
font-variant:small-caps;
border-bottom:1px solid transparent;
border-left:1px solid transparent;
border-right:1px solid transparent;
border-top:1px solid transparent;
border-style:solid;
background:transparent !important;
background: url(http://polkcity.server307.com/wp-con.../menuhover.jpg) no-repeat !important;
}
div#menu1 ul.rMenu li.current_page_item a:visited {
height: 54px;
padding-top: 15px;
padding-left: 20px;
padding-right: 20px;
padding-bottom: 0px;
text-align: center;
align: center;
font-variant:small-caps;
-x-system-font:none;
border-bottom:1px solid transparent;
border-left:1px solid transparent;
border-right:1px solid transparent;
border-top:1px solid transparent;
border-style:solid;
background:transparent !important;
background: url(http://polkcity.server307.com/wp-con.../menuhover.jpg) no-repeat !important;
}