• Hello,

    First of all, thanks for a very good and useful plugin.

    For us all works fine except for a very small detail, the quantity field being to close to the product description. Most of our custom/special products use 2-3 lines as product description.

    Several times there are all kind of numbers in the description thus visually somewhat confusing with the quantity field close and left-justified from the description.

    I have tried with the css to center the quantity field. This does work, but also for other fields like price, subtotal, shipping and total. The final result looks a bit silly and not what was intended.

    I thought about the pro-version, but since this is the only aspect what we need, it seems a bit overkill. Also, I’m not sure if the pro-version could do this..?

    Any suggestions as how to fix this?

    • This topic was modified 6 years, 1 month ago by Shop-tester.
    • This topic was modified 6 years, 1 month ago by Shop-tester.
    • This topic was modified 6 years, 1 month ago by Shop-tester.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor kluver

    (@kluver)

    Hi @evolinestore,

    The easiest way to add custom CSS is with our Premium Templates extension. You can add it right in the plugin settings via the customizer’s custom styles section.

    With the free version you can add a small code snippet that adds some padding to the product table cells:

    add_action( 'wpo_wcpdf_custom_styles', 'wpo_wcpdf_custom_styles' );
    function wpo_wcpdf_custom_styles () {
    	?>
    	th.product, td.product {
    		padding-right:5mm;
    	}
    	<?php
    }

    This snippet should be placed in the functions.php of your child theme. If you never worked with code snippets or functions.php before please read this: How to use filters

    Thread Starter Shop-tester

    (@evolinestore)

    Hello @kluver,

    Works like a charm! Thanks a lot.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Quantity field centered’ is closed to new replies.