Hi, I am using Drupal 7 and the 7.x earthish theme. The menu bar is displaying with roman numerals I, II, III, IV by each menu item. I have checked the css for list-types, etc, but I can't seem to find what code is generating the ordered list numbers so I can remove them from the main menu items. This is a clean install. Screenshot attached. Thank you for any assistance.

CommentFileSizeAuthor
orderedmenu.JPG9.71 KBthetechguide

Comments

thetechguide’s picture

Some more information on this issue. In Firefox 3.6.13, the numbers are caps to the left of each menu item. In IE 8, the numbers of the ordered list are lowercase, and appear to the RIGHT of each menu item. I was able to modify the css in styles.css to remedy the problem. I changed the code to the below for CSS for #primary:
/*** Main primary bar ***/
#primary {
border-top:2px solid #ccc;
height:25px;
width:100%;
}

#primary li {
list-style-type: none;
padding: 0;
margin:0;
}

#primary li {
float:left;
border-right:solid 1px #7d7d7b;
}

#primary .links {
padding:0;
} /* Overrides Drupal default padding */

#primary li.first {border-left:solid 2px #7d7d7b;}

#primary li a, #primary ul a:link, #primary li a:visited {
border-right:solid 1px #656565;
color: #fff;
display:block;
float:left;
font-variant:small-caps;
font-weight:bold;
height:25px;
letter-spacing:1px;
line-height:25px;
padding:0 5px 0 5px;
outline:none;
text-decoration:none;
/*text-indent:-1000em;*/ /* Uncomment to use image based primary */
width:100px; /* Refine based on text size */
}

#primary li a:hover, #primary li a:focus, #primary li a:active {
background:#826536;
color:#87B564;
}
#primary li a.active {color:#87B564;}

ishmael-sanchez’s picture

Assigned: Unassigned » ishmael-sanchez
Status: Active » Needs review
ishmael-sanchez’s picture

Status: Needs review » Fixed

Actually you don't need all these css changes, just add list-style:none; to the rule on line 87.

#primary li {
border-right:solid 1px #7d7d7b;
float:left;
list-style:none;
}

Fix has been committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.