Good Morning Everyone in Laserfiche Land,
Does anyone know if you can change the color of the File Upload button background and the font color of the the file upload field on forms? I am just looking to draw more attention to it.
Thanks!
Drew
Good Morning Everyone in Laserfiche Land,
Does anyone know if you can change the color of the File Upload button background and the font color of the the file upload field on forms? I am just looking to draw more attention to it.
Thanks!
Drew
If you're targeting the file upload button in general, you may try something like:
.fileuploader { background-color:#2ab; border-color:#2bc!important; color:white; }
The background-color sets the button face, the border-color sets the outside edge, and the color sets the text color.
If you wanted to change a particular file upload button only, the CSS is the same but the selector changes a bit to:
input#Field1_old.fileuploader { background-color:#2ab; border-color:#2bc!important; color:white; }
Hi Drew,
Deleted my old response as it looks like it may be a bit different now!
(change Field1 for what ID your button is, you can see this from the CSS / javascript preview pane)
#Field1_old{ background-color: red; color:white; }
Alex, this is successful in turning the entire field red when I point it to the ID I am working with but I'm looking to just change the color of the button itself from gray.
With some trial and error I think I have it working but I'm sure it can still be cleaned up a bit:
button, html input[type=button], input[type=reset], input[type=submit] {
-webkit-appearance: button;
cursor: pointer;
background-color: #1d98ae;
color: white;
font-weight:bold;
}
If you're targeting the file upload button in general, you may try something like:
.fileuploader { background-color:#2ab; border-color:#2bc!important; color:white; }
The background-color sets the button face, the border-color sets the outside edge, and the color sets the text color.
If you wanted to change a particular file upload button only, the CSS is the same but the selector changes a bit to:
input#Field1_old.fileuploader { background-color:#2ab; border-color:#2bc!important; color:white; }
Perfect Karina! I knew what I had wasn't quite right. Thanks so much for helping me out!
Drew