Closed (fixed)
Project:
Fusion
Version:
6.x-1.0-rc1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
13 Jan 2011 at 15:58 UTC
Updated:
3 Jan 2014 at 02:41 UTC
Jump to comment: Most recent
Comments
Comment #1
jeremycaldwell commentedHi there, you can get a stylesheet to load for printing only like so:
Hope that helps!
Comment #2
dddbbb commentedThat's great, thanks.
Will this completely override the default print.css or will it just be loaded after?
Comment #3
jeremycaldwell commentedFusion Core doesn't come with a print.css file so whatever you add to your theme should be it.
Comment #4
dddbbb commentedI meant Drupal core, not Fusion core.
Comment #5
jeremycaldwell commentedOh, well Drupal core doesn't come with a default print stylesheet either. Typically a print stylesheet is defined by your theme and the default is for one to not be included and then you add one if needed.
Comment #6
dddbbb commentedWhat about misc/print.css? Isn't that core?
Comment #7
jeremycaldwell commentedTrue, I wouldn't worry about it as it just sets so very basic elements and you can override them in your theme's print.css.
Comment #8
dddbbb commentedYeah, but that's what I'm asking...
Does one file override another or are they added together like when you link to multiple external stylesheets in a page?
Comment #9
jeremycaldwell commentedThey are added together. There may be a way to remove the default Drupal print.css by unsetting it in your theme's template.php but I haven't done that before. If you look at the Drupal print.css you will see it's just a few lines of code which you can easily copy/paste into your theme's print.css file and overwrite them there.
Comment #10
dddbbb commentedThanks. That's actually the result I was hoping for - the default print.css makes a nice start.