Limited Support
Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.
How-to and Troubleshooting
3
Posts
2
Users
1
Reactions
434
Views
Jul 20, 2023 2:51 am
Change the color of the writing field to topic, I want to leave it in black. How do I do?
2 Replies
Jul 20, 2023 11:27 am
Hi @davidsousa ,
You can use this custom code, to set background-color to the tinymce text editor.
add_filter( 'wpforo_editor_settings', function ( $s ){ $s['tinymce']['content_style'] .= ' body{ background-color: #555 !important; color: white !important; }'; return $s; } ); add_filter( 'wpforo_dynamic_css_filter', function ($css){ $css .= ' .mce-edit-area.mce-container.mce-panel.mce-stack-layout-item, .mce-panel.mce-stack-layout-item.mce-last{ background-color: #555 !important; } '; return $css; } );
For adding custom code to your WordPress site you can use this "Code Snippets" plugin https://wordpress.org/plugins/code-snippets/