CSS : External Stylesheet
-
Hi all! Can someone please show me how to load my CSS file from my php template?
My template has over 600 lines of CSS, so I’m just trying to clean it up a bit.
I have already tried this:
https://docs.gravitypdf.com/v6/developers/filters/gfpdf_include_list_styles
and this:
$stylesheet = file_get_contents(‘assets/mpdfstylePaged.css’);
$mpdf->WriteHTML($stylesheet,1); // The parameter 1 tells that this is css/style only and no body/html/textwithout success.
Thanks! Corrie
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.