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 Have Two Column Payment Form
- How to make mobile friendly forms on JotForm
- How to Inject CSS Codes to Widgets
Related Forum Questions
- All of my custom CSS codes are completely gone after changing theme
- How do I change the image of the form?
- How can I make the fields inside the Address Field be of the same length?
- Field labels are not shown in the form
- Form Tab CSS confusion for background
- Using CSS to hide a form checkbox (not the label, only the checkbox)
- How to resize the CSS file in order to improve the Google's page speed?
- I've injected a custom CSS codes in the form to make it RTL but it's not working
- Injected CSS doesn't reflect the form in Builder
- How to align the form to the right?
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