css doesn't seem to be loading
-
I love your plugin – very straightforward and it works.
I do however, wish to be able to modify the style of the output. You state that you load the website style sheet, but I’m not seeing that happen.
In the dkpdf-index.php, you had one css line. I’ve tried adding a second as well to resolve this. Neither seem to load:
<link type="text/css" rel="stylesheet" href="<?php echo get_stylesheet_uri(); ?>" media="all" /> <link type="text/css" rel="stylesheet" href="<?php echo get_stylesheet_directory_uri(); ?>"/print.css" media="all" />Would you have any idea why it wouldn’t be? An example of the problem can be seen if you go to https://mormonbandwagon.com/krokie/letter-to-bishop-stake-president/ and then compare it to the pdf output upon pressing the PDF button.
For example, I want a sans font output, not serif.
Alternatively, adding a css block as an option within the admin panel may be helpful for making similar tweaks, in an either way than modifying the template.
Thanks again.
The topic ‘css doesn't seem to be loading’ is closed to new replies.