What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Inject CSS into Payment form with picturesAsked by rickvv on September 13, 2013 at 10:09 PM
I read about injecting CSS into the form, and I sort of see how that works.
I have an order form with three pictures, linked with an URL. The thumbnails here on jotform constrains the images, and they look squashed.
I did put in the css code from one of the examples, but it only applies to the first item in the payment wizard form.
I'm not sure how to get the CSS to apply to all the images (they're all a little taller than they are wide).
Is there a demo or tutorial for this kind of customization?
payment form inject CSS JotForm order form style size
You can use .form-product-image class to target all product images.
Here's a visual guide on how to get field class and ID using Chrome Browser -> Inspect Element.
Hope this helps. Feel free to message us should you have further questions. Regards!
Well, I think I see that, but when I enter that code, it only applies to the first image in the PaymentForm (I cna change it to 60px height, 50px width, and it displays as in this form here:
Kindly add the form-product-image-with-options class to the injected code, like so:
Kindly let us know if you need further assistance. Thank you.