Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-13671

Add possibility to customize css for pdf

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Duplicate
    • Affects Version/s: 4.2.12, 4.3.7, 4.4.2
    • Fix Version/s: None
    • Component/s: Core CiviCRM
    • Labels:
      None
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      The css used for pdf generation is hard coded and can't be configured.

      cf. https://github.com/civicrm/civicrm-core/blob/master/CRM/Utils/PDF/Utils.php :
      <style type=\"text/css\">@import url({$config->userFrameworkResourceURL}css/print.css);</style>

      Could be a good addition to allow for a custom css in this context.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                samuelsov Samuel Vanhove
                Reporter:
                samuelsov Samuel Vanhove
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: