How to center the amount of a Stripe field?

  • medarbeiderne
    Asked on March 15, 2017 at 8:19 AM
    Now I'm wondering if you could please help me with the
    formatting of the price-field. It looks a bit less trustworthy than I'd
    like it to. Could you help me center it and remove the line?
  • Kiran Support Team Lead
    Replied on March 15, 2017 at 8:33 AM

    I notice that you have already injected some CSS code to center the complete Stripe field which may require some changes again. Please confirm that you want to remove the line and center the price as mentioned in the image below so that we can provide you with necessary CSS code.

    How to center the amount of a Stripe field? Image 1 Screenshot 20

    We will wait for your response. Thank you! 

  • medarbeiderne
    Replied on March 15, 2017 at 9:46 AM
    Exactly! I love your level of service :)
    ...
  • medarbeiderne
    Replied on March 15, 2017 at 9:46 AM
    Altso, the header, «Beløpet som skal trekkes» should be centered :)
    ...
  • Kiran Support Team Lead
    Replied on March 15, 2017 at 11:15 AM

    The horizontal line can be hidden by injecting the code below to the form:

    #id_3 hr {

        display: none;

     

    }

    As I check the payment field further, I notice that the header and price are on the same element. Please allow me some time to check on this to move the amount to next line and get back to you. 

    Thanks!