Creating custom CSS theme |
If you would like to use yours icons for the buttons or/and change colors of the TWPdfViewer, you can. Take some of the existing CSS themes (like css/light/tw-pdf-viewer-light.css) as a template, change its colors and src to your image buttons files.
On your HTML page, instead of link to:
<link rel="stylesheet" id="tw-web-theme" href="/_content/Terminalworks.PdfViewer.AspNetCore/css/tw-pdf-viewer-light-theme.css"
use:
<link rel="stylesheet" href="{path_to_your_css}" />
Caution |
---|
You can use multiple instances of the viewer on the same page, but it isn't possible to use different CSS theme. CSS viewer theme is loaded per page and affects all the instances. |
Support Availability - December 25th to December 29th, 2024
From December 25th to December 29th, 2024, our support team will be available exclusively via email.
For assistance, please contact us at [email protected], and we will respond to your inquiry as soon as possible.