How to change the color of PayPal product sub label?

  • Profile Image
    Asked on July 16, 2015 at 04:20 PM

    Hi, making my first form for my site. Using the paypal payment form and wanted to change the product image size. After some forum searching I found a similar question answered with the code below ( I changed the sizes to my needs)

    .form-product-image-with-options {width: 234px !important;height: 196px !important;}


    Though after inserting the code the image sizes changed, but ignored the first product for some reason. I'm stuck, please help.

    Also, is there a code to change the color of the subtotal text? 

    Thanks in advance,


  • Profile Image
    Answered on July 16, 2015 at 08:20 PM

    UPDATE: I found a different CSS code that did the job. STILL NEED HELP though. 

    Can't seem to get the code to change the item subtotal amount color. 

    ".form-item-subtotal { color......" works to change the "item subtotal" text. but not the amount. 


  • Profile Image
    Answered on July 17, 2015 at 01:56 AM

    Hello flypaper,

    If I understand your question correctly, you want to change the color of the sub label text. Is that correct?

    Please inject the following custom css code in your form and that should solve your problem:

    .form-special-subtotal {

    color: white;    /* Change your font color here */



    The following guide should help you how to inject custom css code in form: 

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!

  • Profile Image
    Answered on July 18, 2015 at 08:27 PM

    Thank you ashwin_d, That works perfectly.

  • Profile Image
    Answered on July 18, 2015 at 08:52 PM

    On behalf of my colleague, you're welcome :)

    Do let us know if there's anything else with which you need assistance.