I am using a Print module with a bartik subtheme. I am trying to override the print module styles by using my theme's print.css file. Is this correc tway of doing this?

Both the print preview and preview via the printer-friendly version generated by the print module look different...

How would I go about overriding the print module styles?

This is how the print stylesheet is being called in my theme: stylesheets[print][] = css/print.css

  • 1
    What is different about them? Are you using drupal.org/project/print?
    – mpdonadio
    Feb 13, 2013 at 0:39
  • That's the one. The sections that are displaying/not displaying are different @MPD
    – kine456
    Feb 13, 2013 at 1:31
  • I am not sure what do you mean when you say print preview and preview. Can you add the screenshots (and/or urls) as it would be easier to understand.
    – AjitS
    Feb 13, 2013 at 6:52

1 Answer 1


You have two separate stylesheets.

The 'preview' stylesheet needs to be configured in the CMS. You just enter into a field something like 'print.css' and create that file in your theme folder. This is nothing different than a typical stylesheet you would use anywhere else on the site.

The actual 'print' stylesheet (what you get when you press the print button) that you have declared in your .info file will style the resulting print.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.