Changing the button color when files have been uploaded

It's possible to have the color of your button change when a file has been successfully uploaded, providing that the 'Require a customer to upload a file before adding the product to the cart' option is enabled.

To set this up, first set the button color in the app to the color you want it to be after files are uploaded. For example, if the button should be blue before uploading, then turn green, set the button color in your app settings to green.

Then click the 'Use Custom CSS Styles' button in your UploadKit field settings, then paste this code into the Custom CSS box:

.uploadkit-invalid .uploadkit-button {
  background-color: #3333CC !important; 
}

Of course, #3333CC can be whatever color you like -- this is the color that it will be before files have been uploaded.

Still need help? Contact Us Contact Us