Hi @jarstan,
I am sorry for the delayed response to this.
Thank you for your feedback and for using our Print Invoice plugin! I’m glad to hear that you’re finding it useful.
Could you please confirm if you are using the default or Simple template of our Print Invoice plugin?
If you are using the Simple template of our plugin, then you can set the alignment as “Right” for the “Shipping Address” option available in the Templates tab of our plugin.
Screenshot for your reference: https://screenrec.com/share/ns8A0BFXrY
Please check and let us know if this shows the Shipping address properly on your invoice.
Thanks for the response. I am using the default template. Is it possible to target a CSS mod? If so any ideas to adjust the shipping address would be great.
Many thanks
Hi @jarstan,
Thank you for your reply.
Can you please try adding the below code snippet in the ‘functions.php’ file of your currently active theme?
The below custom code will shift the shipping address’s position to the right side. You can adjust the changes in the code below as per your requirements.
function adjust_position_shipping_address() {
?>
<style>
.shipping-address {
text-align: right;
}
</style>
<?php
}
add_action( 'wcdn_head', 'adjust_position_shipping_address', 20 );
Please check and let us know if the provided code snippet helps you to achieve your requirements. Also, feel free to ask if you have any queries.
Wow – that is brilliant, just what I was after. I can now adjust the delivery address position with my CSS to get it to fit in the envelope windows. Many thanks for you help and excellent support.
Hi @jarstan,
You’re welcome! I’m glad to hear the solution worked perfectly for you.
Feel free to write back to us if you have any further queries or need any further assistance.
If you like our plugin and our service, then it would be great if you could give us a review here. That would help us immensely.