Closed (fixed)
Project:
Earthish
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
23 Jan 2011 at 17:16 UTC
Updated:
25 Mar 2011 at 04:11 UTC
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.
| Comment | File | Size | Author |
|---|---|---|---|
| orderedmenu.JPG | 9.71 KB | thetechguide |
Comments
Comment #1
thetechguide commentedSome 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;}
Comment #2
ishmael-sanchez commentedComment #3
ishmael-sanchez commentedActually you don't need all these css changes, just add
list-style:none;to the rule on line 87.Fix has been committed.