Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
2.3k views
in Q2A Core by
How to edit header so as to put some other images / style rather than default navigation bar?

1 Answer

+4 votes
by
selected by
 
Best answer

You need to make a custom theme: http://www.question2answer.org/themes.php .

Put such a function in your theme class and modify it as you want:


function header()
{
    $this->output('<DIV CLASS="qa-header">');
 
    $this->logo();
    $this->nav_user_search();
    $this->nav_main_sub();
    $this->header_clear();
 
    $this->output('</DIV> <!-- END qa-header -->', '');
}
 
You can override other methods :
function logo()
{
    $this->output(
        '<DIV CLASS="qa-logo">',
        $this->content['logo'],
        '</DIV>'
    );
}
...and so on.
by
thanks a ton
...