Problems updating CSS

Request Type: 
Bug Fix
Author: 
Bjorn Akselsen
Issue/Request: 

Hi,

I have some general as well as specific questions regarding CSS and Drupal. We were able to conform to the Summer deadline for migrating about 5 different sites, using custom CSS (often the initial phase was supplied by ITS and/or sub-vendors). Admittedly, we have not done much updating other than content since then but have recently seen some strange behavior, little things that aren’t what they used to be… So my more general question is; has there been some Drupal update lately that may affect how sites display? More specifically, we’re having difficulty making CSS-tweaks work. On the above-mentioned page, for example, we would use the code-inspector in Chrome, identify the CSS and write some rules. Now today, nothing we do seem to have any effect. Oddly, the CSS displaying in the code inspector often does not match what we see in the CSS-injector. Would appreciate your help.

best,

Bjorn

Helllo Bjorn,

It could be that the site is being cached. Now that the sites are in Drupal CSS Injector rules are cached. Have you tried flushing All Caches after adding the rule?

With regard to changes, when we redesigned the themes some classes & selectors did change but it should not affect your site since you are still using the older themes with custom CSS. 

Josue

Thanks, yes that explains it! I’ve flushed caches before but I only had to do it ever so often in the past. Now the changes “take” but I’ll have to flush the caches after every CSS-injector update. I think that takes care of my most pressing issues but I may post another question or two later about some difficulties were trying to sort out. Thanks for your help!