I'm trying to create my own theme in Drupal 6.0 beta3. These are my very first steps with Drupal, but I'm extremely happy so far. Drupal looks just amazing!

I'm starting a theme from scratch, since I need it to be as clean and simple as possible. My page layout looks compĺetely different from the drupal default themes. So I created a 'themes/mytheme' directory with the following content:

mytheme.info
style.css
logo.png
screenshot.png

This effectively renders my site as needed with one exception: The

Comments

jjalocha’s picture

Sorry, I just realized that I messed up the whole formatting of the previous post. Here it is again, with correct formatting:

I'm starting a theme from scratch, since I need it to be as clean and simple as possible. My page layout looks compĺetely different from the Drupal default themes. So I created a 'themes/mytheme' directory with the following content:

  • mytheme.info
  • style.css
  • logo.png
  • screenshot.png

This effectively renders my site as needed with one exception: The <ul class="menu"> elements are already styled, even if I'm using a generic cleaning in my CSS:

ul, li { list-style: none; }

Instead of overwriting every rule that's there by default, I would prefer to ignore the complete offending CSS file, which I suppose is 'system/system-menus.css'

Therefore, I added the following line to the 'mytheme.info' file:

stylesheets[all][] = system-menus.css

Without a 'system-menus.css' file in the directory, this was supposed to eliminate the use of the file. (See http://drupal.org/node/171205.) But it still gets used in the HTML:

<link type="text/css" rel="stylesheet" media="all" href="/html/modules/system/system-menus.css" />

Am I doing something wrong? Am I missing some step?

jjalocha’s picture