By DirtyBirdNJ on
Hello, I am working on putting a custom theme we got from templatemonster.com on a drupal 5.12 site.
On line 12 or so in /modules/system/defualt.css there is one rule for tables:
table {
border-collapse: collapse;
}
This is causing a line to display any table, it's unsightly and annoying. I tried to add a line in my template's css to override the rule... no dice. I tried editing the default.css file directly... still no change.
1. How can I tell drupal to "refresh" it's display of css?
2. I am having a similar problem with drupal ignoring javascript files in my custom module directory, where should these go?
Comments
Do you happen to have CSS
Do you happen to have CSS compression enabled (performance settings)? If so, disable it and do a hard refresh to see your changes. If not, can you please tell us whether by "default.css" you are referring to "style.css" in the theme directory?
----------------------------------------------------------------------
http://classicvinyl.biz
http://music.bwv810.com
http://davidhertzberg.com
http://association.drupal.org/user/1207
I am a writer, researcher and solo drupal freelancer
Thanks for the quick reply
Thanks for the quick reply bwv.
1. CSS Compression and Caching are both disabled. I haven't messed with these at all since I am still in development.
2. The CSS file that Firebug is telling me about is referenced by this in the source:
Despite me having manually edited the file to comment out this line (and move it down a few), drupal is still serving this css file and telling me that piece of code is on line 21 (it's now on 23 because I moved it).
While I was writing this post, I decided to restart IIS (why not?) and that seems to have solved the problem. This particular problem is solved, though there's still a taste of wtf left in my mouth.
My experience is limited to
My experience is limited to working with a UNIX server, and I can say that I have always been able to see my CSS alterations with a hard refresh of the browser window. Perhaps it has to do with your server?
By the way, if you are going to stick with drupal, you may as well be prepared to have a somewhat reconditioned palate. Sliced ginger will not help. ;-)
----------------------------------------------------------------------
http://classicvinyl.biz
http://music.bwv810.com
http://davidhertzberg.com
http://association.drupal.org/user/1207
I am a writer, researcher and solo drupal freelancer
...
How do you mean "this is causing a line to display", there's nothing in that declaration that's drawing a line, such as a border.
A common annoyance is the well known tbody border in system.css
Perhaps thats the issue?
Pimp your Drupal 8 Toolbar - make it badass.
Adaptivetheme - theming system for people who don't code.