Peter Buring
asked 10 years ago

Hello, I tried to get my theme to support the DWQA plugin, but my widgets keep appearing below the content. I tried the style integration you posted on the website, but it didn’t work. Can anyone see what I am doing wrong?

gr,
Peter

5 Answers
Peter Buring
answered 10 years ago

Turns out I got the DIV’s and everything correct.. but forgot to close the <section>.
Adding a </section> did the trick!

Iana Aguilar
replied 10 years ago

Your site looks great! I’m having a hard time trying to layout my page and not really getting an answer here. I’m pretty new to css so I’m also not too sure where to write things. Did you just follow the styling steps?

Peter Buring
replied 10 years ago

I just followed the styling steps, but had to change a couple of things. It actually wasn’t a css matter, but more a html thing. The link you posted in you’re question (ask a trainer) isn’t working. Can u send me the right link so I can take a look?

DominicStaff
answered 10 years ago

Hello @paaater ! I have checked your site and still work fine, I think you have resolved this issue.
@vanessa1980 !
You can send me your site for further checking, we will help you resolve it.

Michel Coelho
answered 10 years ago

Dominic, I’m with the same problem. I’ve followed the Style Integration, but the sidebars are displayed weird.

Peter Buring
answered 10 years ago

Hey Michael,
you are using the same theme as me 🙂 First I used the Style Integration, but it didn’t work. But it was the beginning for the solution. I looked through the code of my page, and I fixed it like this:

content-start-wrapper.php:
 <section class=”content”>
<?php get_template_part(‘inc/page-title’); ?>
<?php if( is_page() ) { ?>
<div style=”display:none;”><?php _e( ‘DWQ&A’, ‘hueman’ ); ?></div>  <!– Change DWQ&A to the name of your page!! –>
<?php } ?>
<div class=”container-fluid”>
<div class=”entry-content”>
content-end-wrapper.php:
</div></div>
</section>
<?php get_sidebar(); ?>
<?php get_footer(); ?>

Michel Coelho
replied 10 years ago

Hi Peter!
Thanks for your instructions. It works, but it’s not ok yet. Look the site again: The border is too large and next to the sidebar. How can I put an espace between the sidebar and the Q&A form?

Peter Buring
answered 10 years ago

Hi Michel,
you can fix this by editing the style.css in your dwqa-templates folder.
You can use the css given in the Style integration, but if you just want some space between the sidebar and the form, add the following to the style.css:
 
.container-fluid { padding: 20px;} (this will create 20px of space all around the form)
OR
.container-fluid { padding: 0 20px;} (this will create 20px of space only on the right and left side of the form) 
greetings,
Peter

Michel Coelho
replied 10 years ago

Wow, Peter, you’re brilliant! It works perfectly… Curiosity: How you put the image larger in your header theme?

DominicStaff
answered 10 years ago

Hey Michael,
You can follow the solution provided by Peter. If you still face the issue, pleas send me username & password of your site for further checking.

Michel Coelho
replied 10 years ago

It works. Thanks

Powered by DW Question & Answer Pro