Nathan Schacherer
asked 10 years ago

Hey – love the way this plugin looks – however I installed it here: http://vegmat.se/dwqa-questions/ and as you can see the layout is completely messed up – any ideas why this has happened and how I can fix it?
Thanks.
Nathan

1 Answers
DominicStaff
answered 10 years ago

Hello Nathan !
To resolve this issue, please find here for the document guide on how to create 2 file: content-start-wrapper.php, content-end-wrapper.php.
URL: http://designwall.com/guide/dw-question-answer-plugin/#Style_integration
– Add the following code to the content-start-wrapper.php file:

  <div id="cb-content" class="wrap clearfix">
    <div id="main" class="clearfix" role="main">
        <?php if( is_page() || is_archive() ) { ?>
        <header class="page-header">
            <h1 class="page-title"><?php _e( 'Question & Answer', DW_TEXT_DOMAIN ); ?></h1>
        </header>
        <?php } ?>

– Add the following code to the content-end-wrapper.php file:

    </div>
      <?php get_sidebar(); ?>
</div>

Hope this helps !

Nathan Schacherer
replied 10 years ago

thanks – worked perfectly! 🙂

Powered by DW Question & Answer Pro