Michael Pearce
asked 6 years ago

Hello,
This doesn’t seem to work with DW Gamez, the pages a squashed outwards.  I tried following your guide on how to modify the style here;
http://cmspioneer.com/designwall/guide/dw-question-answer-plugin/#Style_integration
However the markup is complete different.
Can you provide any suggestions?

1 Answers
Kido D
answered 6 years ago

Hi Michael,

To adjust the Q&A plugin for DW Gamez theme, you can download the file at this link: http://goo.gl/0ukm40
Extract it and you will have the “dwqa-templates” folder, then copy that folder to the dw-gamez folder in the path wp-content/themes

After that, you need to load the custom style for the theme by adding the following code to the functions.php file in wp-content/themes/dw-gamez folder:

// load style for dw qa plugin
if( !function_exists('dwqa_gamez_scripts') ){
function dwqa_gamez_scripts(){
wp_enqueue_style( 'dw-gamez-qa', get_stylesheet_directory_uri() . '/dwqa-templates/style.css' );
}
add_action( 'wp_enqueue_scripts', 'dwqa_gamez_scripts' );
}

The Q&A plugin should look good on the theme, also you can edit the style.css file in the “dwqa-templates” folder for custom style of the plugin.

Hope that helps!

Powered by DW Question & Answer Pro