Use a custom icon on my Star Rating field

  • davidacver
    Asked on April 16, 2025 at 12:03 PM
    One last question—would it be possible to use a custom icon instead of the default options provided?
  • Jovito JotForm Support
    Replied on April 16, 2025 at 12:09 PM

    Hi David,

    You can customize the icon on your Star Rating field by injecting a CSS code. Let me show you how:

    1. First, copy this code.

    .form-star-rating .form-star-rating-star {
    background-image: url(https://support.jotform.com/uploads/Jovito_B/251054734806052/6206286541482654141/halloween-card.png) !important;
    height: 32px !important;
    width: 25px !important;
    }

    2. In Form Builder, click on Paint Roller icon to open Form Designer.

    3. Then, under Styles tab, scroll down and paste the code in Inject Custom CSS text area. You can replace the value of the URL based on the file link of the custom icon.

    Use a custom icon on my Star Rating field Image 1 Screenshot 30 Here's what it'll look like:

    Use a custom icon on my Star Rating field Image 2 Screenshot 41Give it a try and let us know how it goes.

  • davidacver
    Replied on April 16, 2025 at 12:52 PM

    Great! Thank you!

Your Answer