I'm debuging and trying to modify the calendar css because the little blue info field is too small to display sufficient info.
Firebug shows <div class="calendar monthview"> and the style allows me to modify width and height of the blue display field. But the url /sites/default/files/css/css_TuUcIk9BkwT2jDjJe_6dJMP9rOL2wZwiKQmxadx5Vvc.css shows dozens of files in the /css folder.
Are these temporary files generated each time a display request is made? Where is the real calendar css that I can change to permanently display my alterations to width and height for the info field? Thanks in advance Roger
You probably have css compression turned on. There's a limit to how many css and js files IE can load, so to get around that Drupal put them all into one big file to download. It also downloads faster that way.
If you need to flush css, go to site configuration -> performance, and look at the bottom of the page where there's a button to clear cache.
-don-
On 2/9/2012 10:37 PM, Roger wrote:
I'm debuging and trying to modify the calendar css because the little blue info field is too small to display sufficient info.
Firebug shows<div class="calendar monthview"> and the style allows me to modify width and height of the blue display field. But the url /sites/default/files/css/css_TuUcIk9BkwT2jDjJe_6dJMP9rOL2wZwiKQmxadx5Vvc.css shows dozens of files in the /css folder.
Are these temporary files generated each time a display request is made? Where is the real calendar css that I can change to permanently display my alterations to width and height for the info field? Thanks in advance Roger
And if you are actively developing, switch off css caching in the configuration menu, otherwise, you'd have to clear the cache constantly.
Home » Administration » Configuration » Development Uncheck "Aggregate and compress CSS files"
And when you restart caching, I'd remove manually all files in the /sites/default/files/css/ directory.
Ursula
On Thu, Feb 9, 2012 at 8:06 PM, Don Pickerel donald@fane.com wrote:
You probably have css compression turned on. There's a limit to how many css and js files IE can load, so to get around that Drupal put them all into one big file to download. It also downloads faster that way.
If you need to flush css, go to site configuration -> performance, and look at the bottom of the page where there's a button to clear cache.
-don-
On 2/9/2012 10:37 PM, Roger wrote:
I'm debuging and trying to modify the calendar css because the little blue info field is too small to display sufficient info.
Firebug shows<div class="calendar monthview"> and the style allows me to modify width and height of the blue display field. But the url /sites/default/files/css/css_TuUcIk9BkwT2jDjJe_6dJMP9rOL2wZwiKQmxadx5Vvc.css shows dozens of files in the /css folder.
Are these temporary files generated each time a display request is made? Where is the real calendar css that I can change to permanently display my alterations to width and height for the info field? Thanks in advance Roger
-- [ Drupal support list | http://lists.drupal.org/ ]
What are these files and why would they not be used? I don't have them on my installations. I only have CSS directories under the themes I've developed (/sites/default/mytheme/css).
On Feb 9, 2012, at 9:00 PM, Ursula Pieper wrote:
And when you restart caching, I'd remove manually all files in the /sites/default/files/css/ directory.
Hi Roger,
You've got CSS compression turned on, which is great when the site is live. But when you are making changes to CSS you need to turn CSS compression off.
Any CSS statement which conflicts with another CSS statement, the one called later trumps the former. So all your CSS tweaks should go into the very last CSS file that is called.
Calendar css would be found in the calendar module. But all module CSS is called before your theme css, and you don't want to hack the calendar module. In your theme, go to its .info file and see the order of the css files called and find the last one (it's typically style.css or local.css). Put your changes in there.
Clearing cache is always a good thing.
Only after you are happy with all the changes to you turn back on css compression.
Good luck,
Shai Gluskin Content2zero Web Development
On Thu, Feb 9, 2012 at 10:37 PM, Roger arelem@bigpond.com wrote:
I'm debuging and trying to modify the calendar css because the little blue info field is too small to display sufficient info.
Firebug shows <div class="calendar monthview"> and the style allows me to modify width and height of the blue display field. But the url
/sites/default/files/css/css_TuUcIk9BkwT2jDjJe_6dJMP9rOL2wZwiKQmxadx5Vvc.css shows dozens of files in the /css folder.
Are these temporary files generated each time a display request is made? Where is the real calendar css that I can change to permanently display my alterations to width and height for the info field? Thanks in advance Roger -- [ Drupal support list | http://lists.drupal.org/ ]
You may also need to clear the browser cache because some of them also cache the CSS.
Nancy Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
From: Shai Gluskin You've got CSS compression turned on, which is great when the site is live. But when you are making changes to CSS you need to turn CSS compression off.
Any CSS statement which conflicts with another CSS statement, the one called later trumps the former. So all your CSS tweaks should go into the very last CSS file that is called.
Calendar css would be found in the calendar module. But all module CSS is called before your theme css, and you don't want to hack the calendar module. In your theme, go to its .info file and see the order of the css files called and find the last one (it's typically style.css or local.css). Put your changes in there.
Clearing cache is always a good thing.