I don't understand by something add but I believe you want to show some content on only question page (Question View) if that is the case than use below code.
Wrap your code with the condition below
if ( $this->template === 'question')
//put yoru code for something here
EDIT: With more detail
In your theme file qa-theme/your-theme-dir/qa-theme.php cross check if there is sidepanel() function already placed. Add/Update the code below
if ( $this->template === 'question' )
//add your code here
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.
July 25th, 2023: Q2A 1.8.8 released!