-
bookstoreUPHCDitanyakan pada tanggal 18 Desember 2024 pukul 03.09
Dear Jotform Support,
saya ingin bertanya, apakah ada code custom CSS untuk mengatur ukuran dan warna dari item subtotal?
dan apakah bisa quantity tersebut diberikan batas/maksimal dimana jika jumlahnya tidak dapat melebihi 5 jika kedua size dipilih? terimakasih.Page URL: https://form.jotform.com/243518034984462 -
Christopher Jotform SupportDibalas pada tanggal 18 Desember 2024 pukul 08.26
Hi bookstoreUPHC,
Thanks for reaching out to Jotform Support. Our Indonesian Support agents are busy helping other Jotform users right now, so I'll try to help you in English using Google Translate, but you can reply in whichever language you feel comfortable using. Or, if you'd rather have support in Indonesian, let us know and we can have them do that. But, it might take a while until they're available again.
Now, coming back to your question, you can adjust the size and color of subtotal items by Injecting CSS Codes into your form. Let me walk you through it:
1. First, copy this code:
/*Adjust size and color for subtotal text - 22296731*/
span.form-item-subtotal {
font-size: 16px !important;
color: orange;
}
/*Code ends here*/
/*Adjust size and color for subtotal amount - 22296731*/
.form-special-subtotal > span:nth-child(2) > span:nth-child(1) {
font-size: 16px !important;
color: orange !important;
}
/*Code ends here*/
2. In Form Builder, click on the Paint Roller icon on the right side of the page to open Form Designer.
3. Now, in the Form Designer menu, click on the Styles tab, scroll down and paste the code into the Inject CSS Code box. That’s it. The code is automatically saved.
Result:
As for your other question, to avoid confusion, I have moved it to this thread.
Give it a try and let us know how it goes.