This is a migrated thread and some comments may be shown as answers.
How to modify some style for drag section?
1 Answer 19 Views
This is a migrated thread and some comments may be shown as answers.
Jin
Top achievements
Rank 1
Jin asked on 21 Aug 2012, 09:05 AM
When I drag a file over the upload text, it will show a section with text "Drop files here". Is there a way to customize the section style such as backgroud-color, padding-top, padding-left?

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 1
answered on 22 Aug 2012, 06:49 AM
Hi Jin,

Try overriding the default css as follows.

CSS:
<style type="text/css">
  .ruDropZone
     {
       background-color: Red !important;
       padding-top: 100px !important;
       padding-left: 100px !important;
     }
</style>

Hope this helps.

Regards,
Princy.
Asked by
Jin
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 1
Share this question
or