• Resolved jorikbuijs

    (@jorikbuijs)


    Hi there,

    Can u help me?
    I want to change the background color (background and background on focus) for just one field.
    What CSS code do I need to get this done?

    Thank you!

    Greetings, Jorik

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @jorikbuijs

    Can you please link the page with the form, and let us know which field you’d like to target? This will help me provide the proper CSS.

    Thread Starter jorikbuijs

    (@jorikbuijs)

    Hi Aakash,

    https://www.singhverzekeringen.nl/sample-page-2/
    It is the field ‘kenteken’ (that’s License plate in dutch)
    I would like this field to become yellow as a dutch license plate…
    #fdd503 is the color code.

    Thank you!

    Ignazio Setti

    (@ignaziohappyforms)

    Hey @jorikbuijs ??

    Try adding the below snippet to your AppearanceCustomizeAdditional CSS screen:

    .license-plate {
        --happyforms-color-part-background: #fdd503;
        --happyforms-color-part-background-focus: #fdd503;
    }

    That should do the trick. Let us know how that goes!

    Anonymous User 18525946

    (@anonymized-18525946)

    Hey! Do you still need a hand here, @jorikbuijs?

    Anonymous User 18525946

    (@anonymized-18525946)

    Looks like we’re all good here ?? I’ll close this topic.

    Let us know in a new topic if you’d like help with anything else!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Custom CSS to change the background color for one field’ is closed to new replies.