gladys kemunto
asked 7 years ago

I was testing your plugin at http://nationalgranitecentre.com/ask-the-expert/  and I found it fills the entire with of the page not as beautiful as they way it appears on your site 🙂 How  can I fix this? Thanks

3 Answers
Solo P
answered 7 years ago

Have you checked the index.php?

Jonathan
answered 7 years ago

Try to add code in below to your style.css file in your theme.

#content {
overflow: hidden;
padding: 1em;
}
DominicStaff
answered 7 years ago

Hi Jonathan, I don think your code will work in this case.
This involves the content-wrapper files.
– Please find here for the document guide on how to create 3 files: content-start-wrapper.php, content-end-wrapper.php, and style.css.
http://designwall.com/guide/dw-question-answer-plugin/#Style_integration
Then add the following code to the content-start-wrapper.php file:

<div class="container floated rightsb">
 <div class="eleven floated" style="min-height: 1069px;">
 <?php if( is_page() || is_archive() ) { ?>
 <header class="page-header">
 <h1 class="page-title"><?php _e( 'Question & Answer', 'dw-page' ); ?></h1>
 </header>
 <?php } ?>

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

</div>
 <div class="four floated sidebar right">
 <?php get_sidebar(); ?> 
 </div>
</div>

Hope this helps !

Powered by DW Question & Answer Pro