Print.css Stylesheet

creativemedia's picture
creativemedia
Tue, 01/10/2017 - 10:21
#1
Print.css Stylesheet

Can you tell me where to put my print stylesheet (print.css) and how to link to this file so it is used when printing?

Thank you in advance

khoa's picture
khoa
Wed, 01/11/2017 - 22:11

Hi there,

1. Put your print.css file into sites\all\themes\md_hillter\css\front\lib

2. Open html.preprocess.inc file(sites\all\themes\md_hillter\inc\front) and add a code line 

drupal_add_css("{$path_theme}/css/front/lib/print.css");

below

drupal_add_css("{$path_theme}/css/front/style.css");

Thanks!

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.