marc2018
Forum Replies Created
-
Yordan,
I tried to change the size of the logo above the document. This Logo is an image.
Agian with a little background in programming and good old aunt Google, I managed to get the image as I liked, here is the code I used:div.head-container img { width: 60% !important; horizontal-align: left; vertical-align: middle; }Thanks for the help we can close this topic.
All my issue for now are solved!!Thanks again,
BR,
MarcFantastic! I donβt see any issues with your CSS rule, so itβs correct π
Thanks
Could you try changing the div.head-container img selector with this one: td.header img? Please, let me know if then it works!
Sorry but this does not work.
Yordan,
I solved it in another way changed the lineheight and fontsize of the list like this.
ul.wc-item-meta { font-size: 9pt !important; line-height: 1.2 !important; }Is this a correct way π could you please comment on this.
And I have another problem now I can’t reduce my Header image it is not changing height if I change it here:
div.head-container img { max-height: 4 cm !important; width: auto; horizontal-align: middle; vertical-align: middle;Any help on this would also be appreciated.
Thnaks again for your help.
- This reply was modified 3 years, 11 months ago by marc2018.
Solved the problem, FTP to the site and rename Wordfence Directory. Login and reinstall wordfence plugin, problem solved π
Yordan,
Already sometime ago I already received another snippet.
Is it possible to combine these two or can I just another one? If I just add this snippet you sent me it is not working.This is the snippet I received to adjust characters and lineheights:
add_action( 'wpo_wcpdf_custom_styles', 'wpo_wcpdf_custom_styles', 10, 2 ); function wpo_wcpdf_custom_styles ( $document_type, $document ) { ?> div.head-container img { max-height: 4 cm !important; width: auto; horizontal-align: middle; vertical-align: middle; } div.head-container { padding-right: 15px; } table.order-data-addresses { font-size: 11pt !important; line-height: 1.2 !important; } body { font-size: 11pt !important; line-height: 1.8 !important; } table.order-details { margin-bottom: 0mm !important; } th.product { border: 0px !important; background-color:#b3b3b3 !important; } th.quantity { border: 0px !important; background-color:#b3b3b3 !important; } th.price { border: 0px !important; background-color:#b3b3b3 !important; } #footer { font-size: 8pt !important; } <?php }- This reply was modified 3 years, 11 months ago by marc2018.
Thanks Yordan,
I will have a look.
But is it also possible to show the image with the rest of the tekst?Br,
MarcSorry Yordan for the late reply, due to a lot of other work I did not manage to reply to you but HTML file is uploaded now.
https://filebin.net/4e4uxelyvi8y74nmThanks
http://www.petras-atelier.nl/wp-admin/admin-ajax.php?action=generate_wpo_wcpdf&document_type=packing-slip&order_ids=4254&_wpnonce=fe6582e063
And I added directly at the of this link &output=htmlYordan,
This is what I did but I can not save it as HTML, the only the option “save image as” and “all files” is there if I right click and click “save as”- This reply was modified 3 years, 11 months ago by marc2018.
- This reply was modified 3 years, 11 months ago by marc2018.
- This reply was modified 3 years, 11 months ago by marc2018.
- This reply was modified 3 years, 11 months ago by marc2018.
- This reply was modified 3 years, 11 months ago by marc2018.
- This reply was modified 3 years, 11 months ago by marc2018.
This the part of the invoice were you can see the picture is overlapping the tekst.
Thanks for your helpForum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Invoice not correct.Hi @alexmigf,
This should be an accessible link:
https://www.petras-atelier.nl/wp-content/uploads/2020/05/factuur-2.pdf1) My logo does not fit is it possible to fit the logo or should I resize it myself?
2) Kies Lettertype: the option behind this is way to big is it possible to add some extra white space or is there an otherway to solve this.
3) How to change the size of the fonts these are very small.Thanks again for your reaction.
Sorry for my late reply I did not receive a notification that there was a reaction on the topic for that reason I missed it π
Restoring the images was relatively easy I just had to switch off the Smush plugin and and my images were restored so for that reason it was not that urgent anymore.
I think I remove the plugin entirly and remove all the settings and start over again.
What is the best way to smush all the images?