Thomas Au
asked 3 years ago

Hello I’m using the Pro Version here. I have tow questions:

  1. How to remove a few of the buttons in the question box (Bold, Italic, Underline, Bulleted, Blockquote, Insert Link, etc) I only want to keep two buttons and remove the rest
  2. How to change the font of my Question Submission Form? It is currently using the default font of my theme, and I want to change it to a custom font

Thank you!

1 Answers
answered 3 years ago

1/ You can add the following code to the functions.php file of your theme then add the button name that you want to show.

function custom_disable_mce_buttons( $toolbar1 ) {
    $toolbar1 = 'bold,italic,underline';
    return $toolbar1;
add_filter('dwqa_tinymce_toolbar1', 'custom_disable_mce_buttons');  

2/ At the moment, if you want to change the font of the plugin, you can find the class of the sectiones to custom.
Please try the following css code:

.dwqa-container { font-family: your-font; }
Powered by DW Question & Answer Pro