Skip to Content
Jul 27, 2016 at 07:02 AM

css inconsistent on upload file


Hi All,

I am using sap.ui.commons.FileUploader to upload file. Unfortunately I cannot use other controls as the UI version is 1.20.9.

I changed the style of browse button of uploader by using the following code and as shown in the attached screenshot.

$('#FILEUPLOADER button').addClass('uploadButton');

where uploadButton class is

.uploadButton.sapUiBtnS.sapUiBtn.sapUiBtnStd {

background-color: rgb(105, 185, 214)!important;

border: none;

color: white;

font-size: 13px;

font-family: zetta serif;




background-color: #285676!important;


On uploading a document the added style gets vanished. I tried different ways. None of them worked.

Is there any powerful way to fix this?


initial screen.png (117.7 kB)