Rich Text Box CSS Classes
Note: This feature is only available to Wix Studio users.
You can use the classes listed below
to style your RichTextBox
elements with CSS.
For more information on styling your elements with CSS, see Styling Elements with CSS and the MDN CSS reference docs.
Important: Element structure and undocumented class names may change without advance warning. To avoid unintended style changes to your site, select elements with the documented class names only.
.rich-text-box
Targets rich text box elements. For example:
css | Copy Code.rich-text-box {display: block;padding-left: 50px;}
.rich-text-box__input
Targets rich text box input boxes. For example:
css | Copy Code.rich-text-box__input {font-family: sans-serif;font-weight: 700;color: black;}
.rich-text-box__toolbar
Targets rich text box toolbars. For example:
css | Copy Code.rich-text-box__toolbar {fill: #FF0000;}
.rich-text-box__icon
Targets rich text box icons. For example:
css | Copy Code.rich-text-box__icon {border-radius: 50%;box-shadow: 5px 5px 10px;}
Was this helpful?