File Upload - Change Colour Of Box | XM Community
Skip to main content

Hi Everyone

How would I change the colour of the file upload box.

And possibly the text and border if needed.

Thanks :)

To change the background color and to add a border to the file upload question, try adding the below CSS to the Style section of the survey’s Look & Feel:

.JFEScope .dropzone {
border: solid 1px red !important;
background: #90EE90 !important;
}

To change the text that displays within the dropzone, add the below to the OnReady section of the question’s JavaScript:

jQuery("#"+this.questionId+" div.dz-default.dz-message > span > button").text("Text Here");

 


🪩


Leave a Reply