Helmut Hort Posted February 19, 2019 Share Posted February 19, 2019 How can I change the background color of pdfframe from black to any other color? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 23, 2019 Share Posted February 23, 2019 On 2/19/2019 at 1:38 PM, Helmut Hort said: How can I change the background color of pdfframe from black to any other color? Hello, Because pdfjs does not support themes, one possible solution, you need to change viewer.css ( for example in a folder \FMSoft\Framework\uniGUI\uni-1.70.0.14xx\pdf.js\web ) Just add the following css rules at the end, and don't forget to clear your browser's cache: #viewer, #toolbarViewer { background-color: green !important } .toolbarButton, .secondaryToolbarButton, .overlayButton { background-color: orange !important; } 1 Quote Link to comment Share on other sites More sharing options...
artem_niko Posted January 13, 2023 Share Posted January 13, 2023 On 2/24/2019 at 2:59 AM, Sherzod said: Hello, Because pdfjs does not support themes, one possible solution, you need to change viewer.css ( for example in a folder \FMSoft\Framework\uniGUI\uni-1.70.0.14xx\pdf.js\web ) Just add the following css rules at the end, and don't forget to clear your browser's cache: #viewer, #toolbarViewer { background-color: green !important } .toolbarButton, .secondaryToolbarButton, .overlayButton { background-color: orange !important; } Hello! How change font color in caption and background color of popupmenu? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.