Is it possible to use another CSS sheet with Nice Menus? I know by default it uses nice_menus_default.css, but can I use that CSS for one menu and another CSS sheet for another menu?

Comments

bartezz’s picture

Never worked with nice menus but I imagine you could.

<div id="nice-menu-container-01">
<?php print $nicemenu1 ?>
</div>
<div id="nice-menu-container-02">
<?php print $nicemenu2 ?>
</div>

Then if you duplicate all the css in nice_menus_default.css and prefix each class with the id of the parent container you'd be all set.

#nice-menu-container-01 .ul {
   background: red;
}


#nice-menu-container-02 .ul {
   background: blue;
}

Haven't tried it but this should work in theory :)

Good luck!

add1sun’s picture

Status: Active » Closed (fixed)

Not sure why you would need separate CSS files for diff menus. Just add selector CSS as you need. No response from OP. Closing.