Browse Article by Topicscss product field
- Customize Your Form Using Custom CSS Codes
- How to Stylize Feedback/Lightbox Title?
- How to Inject Custom CSS Codes
- Submit Button CSS & CSS3
- How to find field IDs and names
- How to Apply Custom CSS to the Product Field
- How to Have Sub-Category or Sub-Labels on an Order Form
- How To Remove Sub-Fields From Full Address Field
- How To Have Two Column Payment Form
- How to make mobile friendly forms on JotForm
Related Forum Questions
- css code editing for iFrame
- Adjusting the width of credit card field
- Need custom CSS code to inject
- My form is in urgent need of fixing! Could someone please fix my CSS code?
- Text Resizer widget: Change button color and button size.
- How to change the background color of the Collapse widget?
- I added the CSS code from JotForm help site but no two columns just one really long
- How to change the red color when a mandatory field has not been completed?
- Form not updating on mobile devices after editing code, problems with CSS code?
- Stripe field stretches too far
How to Apply Custom CSS to the Product FieldLast Update: October 10, 2016
UPDATE: You can easily change a particular field and create fantastic forms with Form Designer video course!
Let's say you want to hide the label with the word "free" (price= 0.00) in your Payment integration form, because you are looking to have them only as the product category titles for a menu style form.
2. In order to find out what is the ID for those particular labels and apply custom CSS codes, preview your form (Open in new tab) then view the form's source [Right-click > View Source]
3. While viewing the page source, you would need to find the title of the 'Free' items you have added
4. Now, get the numbers in the for value of the label tag above the title text
In this sample form, the numbers are 1008, 1009 and 1010.
5. Now, copy those numbers then use it in the CSS guide (to be injected to your form), in order to have the effect we are looking for on this example:
input[id*="input number"] + label > .form-product-details
For this example, If we have multiple product titles, simply duplicate the selectors above (in bold), then separate each with a comma.
input[id*="1008"], input[id*="1009"], input[id*="1010"]
input[id*="1008"] + label > .form-product-details, input[id*="1009"] + label > .form-product-details, input[id*="1010"] + label > .form-product-details
You can apply this guide not only to a Payment form, but to any field into a form