Q&A WP is not aligning correctly

Latest Q&A WP plugin and latest WP. Ok, the QA is displaying but not correctly, the whole it’s pushed up on top of the main menu, Please can someone tell me how to remove the empty box below it and adjust it so it lines up perfectly. You can see the problem here http://www.autoshopzone.com/questions/ask/

Yes, i did add the <?php add_theme_support(‘qa_style’:wink:; ?> in the functions.php and set to permalink to every single option are there and still problem.

Thank you so much.


  • DavidM
    • DEV MAN’s Mascot

    Hi Jackie,

    By default, the Q&A plugin uses the file /qa/default-templates/ask-question.php to render the initial Ask a Question page at yourdomain.com/questions/ask/.

    And while that template file follows WordPress standards, it seems your theme is using some non-standard method of displaying the page.

    What you can do is copy the template files from the /qa/default-templates/ folder into your theme’s folder, and then customize those files according to how your theme does it’s template files.

    For instance, your theme’s single.php file is what’s responsible for displaying single posts, whereas single-question.php is responsible for displaying single questions for Q&A. If you take a look at how your theme does its single.php file, you can adjust the single-question.php file to work similarly.

    Likewise, archive-question.php should be similar to your theme’s archive.php. The rest of the template files should be relatively straight-forward at that point.

    Really, this all just depends on how your theme handles display of WordPress elements. If there’s not too much to it, you can post your single.php file here and we can see where the trouble might be coming from.



  • James Farmer
    • CEO (of WPMU DEV, honest)

    Hi Jackie,

    As we haven’t heard back from you we’re going to assume the problem was sorted out and mark this thread as resolved.

    If it wasn’t resolved, or you have any more questions related to this thread please feel free to post them below and tick the ‘Mark as Not Resolved (re-open)’ box below the post area (or else we’ll miss it!)

    Otherwise, thanks for using the forums, and, as always, for being a member of WPMU DEV, it’s a pleasure to help you out and we look forward to being of assistance in the future.

    Cheers, James

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.