How to customize the look and feel of WProofreader?
Besides using the already available default and gray themes, with the release v5.5.8 (March 26, 2020) we added an option for our customers to create a custom theme for WProofreader. You will be able to overwrite the default styles and adjust the look and feel of WProofreader to the style of your product.
1. Add theme option to the config and specify custom as a value.
<script>
window.WEBSPELLCHECKER_CONFIG = {
...
theme: 'custom',
...
}
</script>2. Create you custom CSS styles to overwrite the default theme of WProofreader.
<style>
.wsc-theme-custom .wsc-badge__label-button {
background-color: blue !important;
}
</style>Examples of current styles for main UI elements
Below are examples of current CSS styles for UI elements that you might want to overwrite with your custom styles.
Spinner inside badge
.wsc-badge--checking .wsc-badge__label-button {
...
background-image: url(svg/spinner.svg) !important;
...
}Underlines for spelling and grammar type suggestions
Hovered state of spelling and grammar type suggestions
PreviousHow to add on-click listener to the badge?
NextHow to destroy WProofreader and clean all its resources in full page view of source mode in CKEditor
Last updated
Was this helpful?

