<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Your theme should be in /sites/all/themes/.&nbsp; You should only modify
files in the chosen theme.&nbsp; Generally if there are more css files than
style.css in your theme folder then they're for specific
sections/pages.&nbsp; In almost all cases you want to put your styles at the
bottom of style.css - especially if it's for something global like
navigation.&nbsp; It's quite possible any other css files are not included
on all pages.&nbsp; <br>
<br>
Usually if you're putting css at the end of style.css and it's not
working you need to try a different set of selectors - eg from below if
li.leaf doesn't work, try ul li.leaf or ul.menu li.leaf - but as I said
before you probably want to be more specific than any of those
suggestions because you don't want to affect your other menus, the
admin menu etc - and most menus use the menu, leaf, expanded and
collapsed tabs.<br>
<br>
As an example - I have in my style.css (which is an entirely custom
theme so I don't know whether it will work for you at all or not, this
is just an example)<br>
&nbsp; ul.leftnavmenu .leaf,<br>
&nbsp; ul.leftnavmenu .collapsed,<br>
&nbsp; ul.leftnavmenu .expanded{<br>
&nbsp; &nbsp; list-style:none;<br>
&nbsp;&nbsp;&nbsp; background:none;<br>
&nbsp; }<br>
<br>
which removes all decorations from all menus - because I didn't want
them.<br>
<br>
<br>
Jean Gazis wrote:
<blockquote
 cite="mid:90f7ebd10709191023y7918b48pbab24ada59d03af0@mail.gmail.com"
 type="cite">How do I figure out which of the style sheets I need to
modify for any given element and in what order they are applied? My
theme (aberdeen) has several and some elements have bits of css on more
than one style sheet. I made changes in one place and they don't always
seem to "take."
  <br>
  <br>
Should I need to modify the system.css and others or just the
style.css? Will it cause problems if I modify the system.css or others?<br>
  <br>
Jean<br>
  <br>
  <br>
  <br>
  <div><span class="gmail_quote">On 9/19/07, <b
 class="gmail_sendername">
Vasileios Lourdas</b> &lt;<a moz-do-not-send="true"
 href="mailto:lourdas_v@yahoo.gr">lourdas_v@yahoo.gr</a>&gt; wrote:</span>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On
Wednesday 19 September 2007 16:07:05 sander-martijn wrote:<br>
&gt; It depends on what styling you need to do.&nbsp;&nbsp;You can do a lot with
css<br>
&gt; and should try that route first.&nbsp;&nbsp;You can figure out which css to
add or<br>
&gt; alter by viewing source and seeing which classes and ids are being<br>
&gt; used.&nbsp;&nbsp;You likely only have to edit functions if the menu is
showing the<br>
&gt; wrong elements, for example if it is showing children that you
don't
    <br>
&gt; want shown.&nbsp;&nbsp;If it's presnting the correct elements but in the
wrong way<br>
&gt; you can probably fix it with css.<br>
    <br>
OK, thanks for your suggestions. Drupal renders the code like this:<br>
    <br>
&lt;ul class="menu"&gt;
    <br>
&lt;li class="leaf"&gt;&lt;a href="..."&gt;Schools&lt;/a&gt;&lt;/li&gt;<br>
&lt;li class="leaf"&gt;&lt;a href="..."&gt;Parents&lt;/a&gt;&lt;/li&gt;<br>
...<br>
&lt;/ul&gt;<br>
    <br>
So, I have to edit the menu and leaf classes in css. However, if I want
to go
    <br>
further, how do I have access to the menu structure through PHP?<br>
--<br>
# Vasileios Lourdas,<br>
# Informatics Engineer, Thessaloniki (Greece)<br>
# <a moz-do-not-send="true" href="http://www.lourdas.name">http://www.lourdas.name</a><br>
--<br>
[ Drupal support list | <a moz-do-not-send="true"
 href="http://lists.drupal.org/">http://lists.drupal.org/</a> ]<br>
  </blockquote>
  </div>
  <br>
  <br clear="all">
  <br>
-- <br>
Jean Gazis<br>
  <a moz-do-not-send="true" href="http://www.jeangazis.com">www.jeangazis.com</a><br>
  <a moz-do-not-send="true" href="http://www.boxofrain.us">www.boxofrain.us</a><br>
  <br>
"Believe those who are seeking the truth; doubt those who find it." -
Andr&eacute; Gide
</blockquote>
<br>
<div class="moz-signature">-- <br>
<hr align="center" noshade="noshade" size="1" width="100%">
<p
 style="text-align: center; font-family: verdana,arial,helvetica,sans-serif; color: rgb(51, 51, 51); font-size: 10px; text-transform: lowercase; font-style: normal; font-weight: normal;"><a
 href="mailto:sander@sander-martijn.com"
 style="text-decoration: none; color: rgb(0, 0, 255); font-family: verdana,arial,helvetica,sans-serif;">sander-martijn</a><br>
interface developer | architect<br>
<a href="mailto:sander@sander-martijn.com"
 style="text-decoration: none; color: rgb(0, 0, 255); font-family: verdana,arial,helvetica,sans-serif;">sander@sander-martijn.com</a><br>
<a href="http://www.sander-martijn.com"
 style="text-decoration: none; color: rgb(0, 0, 255); font-family: verdana,arial,helvetica,sans-serif;">www.sander-martijn.com</a>
</p>
<hr align="center" noshade="noshade" size="1" width="100%"></div>
</body>
</html>