Hi,
After enabling local.css as instructed in the Danland handbook, any changes I make to local.css aren't being recognized. The site still somehow pulls information from that file. Is this a common issue?

(I would link the site in question, but it's not been authorized for public viewing yet)

Thank you!

Comments

Hi -- I've been working with Danland lately and I'll take a stab at this. it's unlikely that this is a general problem. Local.css is working fine on my site, and there haven't been any other reports. Danland has been around since version 6.x and has a huge user base (around 18,000 sites that have reported using it), so if it were a general problem, there would have been an enormous hue and cry by now.

Just to recap, you said that you followed the instructions in the Danland handbook, so that means you've created the local.css file in the Danland folder and enabled it by uncommenting the stylesheets[all][] = local.css line in the Danland.info file. (If you're using the Danblog subtheme, the name of the custom css file is danblog.css. )

The first thing to try when something don't seem to work in Drupal is to clear the Drupal cache (Configuration - Performance - Clear all caches). Sometimes you have to do this twice. You should also clear your browser's cache.

Assuming that you still don't see your changes, check to see if the Aggregate and compress CSS files setting (under Configuration, Performance, Bandwidth Optimization) has been turned on. If it is, turn it off, clear your caches (again), and see if your css changes show up. This setting should always be off (unchecked) whenever you are working with CSS files, because in some cases, it prevents Drupal from re-reading the CSS files from disk when it's on (as I understand it - I may be wrong on this, but it's worth a try). Be sure to turn it back on when you're ready to do performance testing or go live.

Another basic step to try is to use different browsers to view your page. If your changes appear in some browsers but not others, you know that Drupal is reading the styles in and it's a browser issue. If you don't see your changes in IE (v 6-9), but you can see them in other browsers, you may have run into IE's notorious CSS limitations. See Microsoft IE CSS Limitations

If none of these basic steps makes a difference, you'll need to do some troubleshooting to figure out what css coding is being used in place of your local.css file and where the coding is coming from. If you're using either Firefox or Chrome, install Firebug or the Webmaster tools plug-in for your browser, and report back.

I am also getting this problem. I have followed all the steps and am using the latest safari browser. Anything I put into local.css does not seem to work, however changing the CSS in style.css does work.
I am not sure what other troubleshooting I can do?

FYI: Make sure your CSS is correctly changed.
This means if you miss one bracket (}) for a class, whole css will not work.
So i would suggest checking your local.css for any syntax or user errors.

also if you don't see changes in one browser i would suggest trying visiting your site in a different browser to see if the changes took place.

remember clear all cache, make sure you edit the info sheet.

Hate to revive an old thread, but I am having the exact same issue. I've tried even switching local on top and style on top. Neither which made a difference. I validated both CSS documents through http://jigsaw.w3.org/css-validator/ so I know that CSS coding is valid. Any ideas?