Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
579 views
in Q2A Core by
recategorized by
Hello.
 
I need a favor.
I downloaded this wonderful script and I've tried to design a new template but I want to change the position of some <div> and I think I need to know PHP, and I do not know enough PHP to make this change.
I only know as layout in CSS-HTML and very little PHP.
 
So I ask the help of someone who can create me the interface I need.
In return, I may put a link or a banner (of your webpage) on my new website for a while. (Sidebar for example).
 
The interface is simple:
 
 
I just need to modify the header zone.
I just need to create the qa-theme.php with this configuration for my template.
Only is the part of PHP, I'm not talking CSS or HTML or anything, I do this part.
 
Thank you very much! Very apreciated.
Q2A version: Last

1 Answer

0 votes
by

Unfortunately, unlike WordPress or any other CMS, Q2A HTML structure written inline with PHP ( I pointed this few times before ) and so you have to dig into PHP anyway to find actual structure if you want to modify anything within the structure.

I think you do not need many things to change as per your layout but most part can be done wtih CSS. However as your layout is very basic so it is also depend what graphical elements you want to implement.

In fact you can find all HTML in qa-include/qa-theme-base.php file. Everything related theme you will find there and follow this guide to built your own theme.http://question2answer.org/themes.php

You may or maynot require PHP knowledge depending on the level of customization you want to do. However most of the part you can just only include and replace withing the class and it works in major part.

Ask box is a widget and you can place in defined paces without touching any code. However if you want to change default location than you may have to alter/modify default location for the widget area. Which also you will find in the above theme base php file.

All in above if you have some knowledge of PHP that will helps you more than just HTML and CSS of course.

...