Hello Drupallers,

I've used zen theme before and not had this problem in the past.

I have created a subtheme and copied and renamed the zen.css and layout-fixed.css theme into my subtheme.

If I try use my subtheme as the default, the css in mytheme.css file is working but the layout.css and print.css is not.

I have used firebug to try track down the issue...

If I use the address given for the mytheme.css:
say, http://localhost:8888/drupal/sites/all/themes/zen/mytheme/mytheme.css
I can see the CSS script.

If I type:
http://localhost:8888/drupal/sites/all/themes/zen/mytheme/layout.css
I get a page not found error

however, and this is the strange thing, if I add an extra slash
http://localhost:8888//drupal/sites/all/themes/zen/mytheme/layout.css
or
http://localhost:8888/drupal/sites/all//themes/zen/mytheme/layout.css
or
http://localhost:8888/drupal/sites/all/themes/zen/mytheme//layout.css

then the css script shows up in my browser.

Anyone had this before? Or got any thoughts to offer?

Confused..?

Comments

bdiddymc’s picture

I've found a solution, but still not sure why it happens.

I changes the name I was using for the theme folder.

I was using the same name for my theme, mysql database and mysql user name.

When I use a different name for thesubtheme then it all seems to work ok...

Quite odd, but it'll do me for now.