Cascade issue with uc_catalog.css and theme's style.css

Posts: 8
Joined: 03/20/2008

Hi, this is my first site with drupal (and ubercart). But I have an isue that I can't seem to solve (I'm not that great in coding, but I have a lot of experience when it comes to css en design).

The problem is that when I edit the style.css (in my theme) I expect it that it overrides the ubercart module's stylesheet, and particulury the uc_catalog.css. But when I look at the cascading of the stylesheets it shows that my theme's style doesn't override the uc_catalog, but put it first followed by uc_catalog.css. That means that the last stylesheet overrules the other(s). So can someony please tell me hoe to solve this issue.

Thanx.

AttachmentSize
Untitled-1.jpg355.87 KB
Posts: 2243
Joined: 08/07/2007
AdministratoreLiTe!

I don't see how that's happening since the theme system adds style.css as a "theme" stylesheet, and uc_catalog adds its stylesheet as "module". Drupal orders theme stylesheets after modules so that should be the order they appear in the source. Do they appear in the wrong order in the source?