Skip to content
Advertisement

How to customize Dropzone js?

How do I customize Dropzone js? I searched for hours, but only gone in loops. I’m trying to go from this…enter image description here

To something like this…enter image description here

I don’t need the background or any fancy styles, and the functionality already works. I Just mainly need the files to be like they are in the red box. But I don’t know where to start.

Here is my main.js and css I used to style what you see in the first picture…

JavaScript
JavaScript

Advertisement

Answer

Ok, so I thought I needed to edit the dropzone’s html, which I could not find. However, I realized I only needed css. After trying different things, this is now what it looks like…enter image description here And here is the updated style.css…

JavaScript

You could also implement these into the dropzone.css file, if you downloaded that. I already did it…

JavaScript

Just copy all that and swap out your existing dropzone.css file if you want this same look. Anyway hopes this helps anyone else who wants to use dropzone with this type of style. Which I think is very idea of any non image files. No html javascript or anything else. Just pure css.

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement