first you must expose the menu tree: (put this in the template.php)<br><br>function devavrata_extreme_preprocess_page(&$vars) {<br> // Generate menu tree from source of primary links<br> $vars['primary_links_tree'] = menu_tree(variable_get('menu_primary_links_source', 'primary-links'));<br>
}<br>}<br><br>this will expose all the menus and submenus like<br><br>ul<br> li /li<br> li /li<br> ul<br> li /li<br> li /li<br> /ul<br>/ul<br><br><br>then,<br> you need to use the firebug of firefox to see the ids and class<br>
<br>all you need to do now is to create css definitions like<br><br>#primary ul.menu li {} //first level<br>#primary ul.menu li ul.menu li {} //second level<br>#primary ul.menu li ul.menu li ul.menu li {} //third level<br>
<br>I use inline-block for the first level, position: absolute for the second, third levels<br><br><br><div class="gmail_quote">2009/9/9 Ramon Vilar Gavaldą <span dir="ltr"><<a href="mailto:ramon.vilar@gmail.com">ramon.vilar@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Michel<br>
Can you attach or copy your theme function?<br>
<font color="#888888"><br>
Ramon<br>
</font><div><div></div><div class="h5"><br>
--<br>
Ramon Vilar Gavaldą - <a href="http://ramonvilar.facil.cat" target="_blank">http://ramonvilar.facil.cat</a> - <a href="http://blog.facilitant.net" target="_blank">http://blog.facilitant.net</a><br>
Membre de FĄCIL - <a href="http://www.facil.cat" target="_blank">http://www.facil.cat</a><br>
Membre de l'esplai SESA - <a href="http://www.esplaisesa.org" target="_blank">http://www.esplaisesa.org</a><br>
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Daniel Honrade, Jr.<br><br>mobile: +63 915 903 3561<br>alternate email: <a href="mailto:danielhonrade@gmail.com">danielhonrade@gmail.com</a><br>websites: <a href="http://danielhonrade.com">http://danielhonrade.com</a><br>
<a href="http://webtheming.com">http://webtheming.com</a><br><br><br>When you signup for PayPal, you can start accepting credit card payments instantly. As the world's number one online payment service, PayPal is the fastest way to open your doors to over 150 million member accounts worldwide. Best of all, it's completely free to sign up! To sign up or learn more, click here: <a href="https://www.paypal.com/ph/mrb/pal=GE47NYP4D94XA">https://www.paypal.com/ph/mrb/pal=GE47NYP4D94XA</a><br>