Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
519 views
in Q2A Core by
I'd like to hide the title on the 'questions', 'users', ... pages. How do I do so? It's not possible with CSS since they are 'h1' elements and I want to keep the format of such titles.
Q2A version: 1.6.1

1 Answer

0 votes
by

You can change the title with a theme by using this function : 

 

function page_title_error()
{
$favorite=@$this->content['favorite'];
 
if (isset($favorite))
$this->output('<form '.$favorite['form_tags'].'>');
 
/*$this->output('<h1>');
$this->favorite();
$this->title();
$this->output('</h1>');*/
 
if (isset($this->content['error']))
$this->error(@$this->content['error']);
 
if (isset($favorite)) {
$this->form_hidden_elements(@$favorite['form_hidden']);
$this->output('</form>');
}
}
...