Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
672 views
in Themes by
Like for user page different css, for question page different css etc.

1 Answer

0 votes
by
 
Best answer

{if ( $this->template=='question' )

    $this->output('<link rel="stylesheet" href="../qa-theme/cssforquestion.css"/>');

  else

  $this->output('<link rel="stylesheet" href="../qa-theme/csshome.css"/>');

  }

by
Where do I apply it?
by
in qa-theme-base
by
reshown by
Shall I reset this code? Or will I replace the previous code?
by
+1
Override the method head_css() in your theme (in the file qa-theme.php). If you modify qa-theme-base.php your changes will be lost when you update Q2A, so you'd have to make them again.
...