Skip to main content
May 8, 2025 5:50 AM UTC
Solved

How to resize the file upload widget width?

Need to resize the width of the upload widget. Tried following css codes. It's applying but somehow overridden by default size (300 px).

 

#root_pagemashupcontainer-2_fileuploadext-33-bounding-box{
 width: 240px; !important 
}

SC_10187722_0-1746683266531.png

 

May 14, 2025 12:54 PM UTC

Working fine with following code.

fileuploadext-11 --> Widget ID

.widget-fileuploadext .fileuploadext-file-input {
 width: 170px;
}
 
.widget-fileuploadext .file-browser {
 width: 220px;
}
 
#root_pagemashupcontainer-2_fileuploadext-11 {
 width: 240px !important;
}
#root_pagemashupcontainer-2_fileuploadext-11-bounding-box{
 width: 240px !important;
}

 

 

3 replies

May 12, 2025 1:13 PM UTC

Hi @SC_10187722 

 

What version of ThingWorx are you running?

 

Regards.

 

--Sharon

May 14, 2025 11:40 AM UTC
May 14, 2025 12:54 PM UTC

Working fine with following code.

fileuploadext-11 --> Widget ID

.widget-fileuploadext .fileuploadext-file-input {
 width: 170px;
}
 
.widget-fileuploadext .file-browser {
 width: 220px;
}
 
#root_pagemashupcontainer-2_fileuploadext-11 {
 width: 240px !important;
}
#root_pagemashupcontainer-2_fileuploadext-11-bounding-box{
 width: 240px !important;
}