Custom print.css File doesn't work for generated PDF files

Created on 1 January 2010, over 14 years ago
Updated 2 June 2024, 25 days ago

In the admin section, on the module settings tab, what is the proper way to use the stylesheet URL setting? I have copied the original print.css file into my theme's css folder and am trying to get this setting correct so the module will use my file for styling the printed output.

Currently, my print.css file is located here;

drupal/sites/example.com/themes/genesis_sub/css/print.css

What do I need to enter in the URL setting, and how are the 'macros' %b and %t supposed to be used? I understand they are for base path and theme path, respectively, but there's no indication if they are supposed to be used together, or need to be used at all.

Thanks for the help.

πŸ’¬ Support request
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States kbrum

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡΅πŸ‡ΉPortugal jcnventura

    @anoopsingh92 Amazing that you managed to balloon a 1Kb patch in #28 to a 68Kb patch in #40

    If anyone ever reviews this (and would be nice if someone did, please review #28, as there is no way that #40 will ever be merged.

  • πŸ‡΅πŸ‡ΉPortugal jcnventura

    @anoopsingh92 Amazing that you managed to balloon a 1Kb patch in #28 to a 68Kb patch in #40

    If anyone ever reviews this (and would be nice if someone did, please review #28, as there is no way that #40 will ever be merged.

Production build 0.69.0 2024