I wanted to change the colour on nicemenus and I do believe I know how to do it, however the first time I tried to make a change to the module it didn't work and the menu looked very bad. Now I deleted the .Css file chaged the nice_menus_default.css for a new test and changed Path to "custom Nice Menus CSS file"

Now every time I do this I get the same settings as the first file I uploaded. I tried many thing but I always get the same menu as I did when I uploaded the first file. I deleted this file how can drupal takes these setting even if I changed the file completely? I had the same problem with a logo I deleted.

Comments

john.kenney’s picture

these sound like caching problems. perhaps try clearing your cache via admin menu: admin > site config > performance. click button at the bottom.

if that still doesn't help, suggest you close browser and reopen to be absolutely sure it is not something to do with caching - either in drupal or in the browser.

if that doesn't work, i'd try uninstalling and then re-installing the nice menus module. this should completely clear everything and return you to the original state (which is, i think, what you want).

regarding changing nicemenus CSS: this is surprisingly difficult to do because of the way the nicemenus CSS has been written. it is possible, but requires considerable tinkering to get it working properly. in my experience, it is hard to change any single element of the base CSS because there are so many states (e.g., a:hover) and menu levels. changing one often inadvertently changes another that you don't want changed. it took me many hours to rework it exactly as i wanted.

hope that helps.

khanz’s picture

clearing your cache will solve the problem... and use firefox addon firebug to make changes in your css.

------------
Volvo, Video, Velcro. (I came, I saw, I stuck around.)

Boua’s picture

I used firebug to change the colour of the suckerfish menu with great easy but the colour of nicemenu can't be changed with firebug, you need to add something in the code and everytime I try to add something I screw up the menu. So hard to change the colour of the menu. Can anyone post a piece of code on how you alter the nicemenu.css file I tried the code in the readme.txt but it does not say where to put the code.

john.kenney’s picture

well, i'm no expert on css, so my nicemenus css is kind of a mess. it ultimately works though.

maybe you can look at one of my sites and use firebug to figure out what you want to borrow. background colors and images are present in a whole bunch of selectors.

www.callingvancouver.com

the first color spec is this one to change the background color of the ul, but it took nearly 300 lines of CSS to totally handle all the things i wanted.

ul#nice-menu-1 {
  font-size: 100%;
  font-weight: bold;
  background: #cddae5 !important;
  position: relative;
  z-index: 9000;
  }

i think there is a high likelihood that it could be done in much less.