Plugin Contributor
kluver
(@kluver)
Hi @nicecuppa,
You can use a small code snippet to style your logo:
add_action( 'wpo_wcpdf_custom_styles', 'wpo_wcpdf_custom_styles' );
function wpo_wcpdf_custom_styles () {
?>
td.header img {
max-width:40mm;
height:auto;
}
<?php
}
This snippet should be placed in the functions.php of your child theme. If you haven’t worked with snippets or functions.php please read this guide: How to use filters
Thanks Kluver
I’ve fixed most of the formatting issues now, bar one:
One the Invoice, the price is added as £50.00 except that the £ is printed behind the 5 so you cannot read the first number.
I’ve tried all sorts of fixes including
<?php echo str_replace("£","",$total['value']); ?>
…but nothing works.
Any Ideas?
Kevin
Plugin Contributor
Ewout
(@pomegranate)
Hello Kevin,
That’s unusual… Is this a custom template or do you use a custom font? If you have the ‘extended currency symbol support’ option enabled in the settings, could you try turning it off temporarily (unless you have other currencies in your store that are more ‘exotic’ like rubles or indian rupees).
Ewout
No change I’m afraid.
Not a Custom template or custom font. Just Sans Serif.
Kevin
Plugin Contributor
Ewout
(@pomegranate)
Hey Kevin,
Whey you say “Sans Serif”, that’s actually a custom font (by which I mean: non-default). The default font for the Simple template is “Open Sans”. Could you switch back to Open Sans to see if that resolves the issue?
Not enabled the extended currency symbol support option in the plugin either?
Ewout
Quite right – I misread the style sheet.
font-family: 'Open Sans', sans-serif;
Standard Font
Plugin Contributor
Ewout
(@pomegranate)
I’m running out of possible explanations for this (+cannot reproduce and have no other reports)… Are you using any currency related woocommerce plugins?