Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
  • Register
Welcome to the Q&A for Question2Answer.

If you have questions about the platform, click here to ask and please use English.

If you just want to try Q2A, please use the demo, which also grants admin access.

Jan 18: 1.5 release

Ask a question more obvious

+1 vote
How can you make the "ask a question" more obvious so people can see it? a CSS change? Anyone know which value to edit?

I was thinking of putting a question box on the right hand sidebar.  Anyone know what I edit for this, and what the code would be?

Thanks!
asked Aug 25, 2010 in Q2A Core by anonymous

2 Answers

0 votes
You can put below code in sidebar; admin->layout->custom HTML in sidebar

<FORM METHOD="POST" ACTION="[FULL URL OF YOUR ASK PAGE]">
<INPUT NAME="title" TYPE="text">
<INPUT NAME="doask1" VALUE="Ask" TYPE="submit">
</FORM>

ref:
http://www.question2answer.org/qa/549/how-to-add-ask-question-text-box-and-continue-button-sidebar

You can see it working here
http://answers.prothoughts.com
answered Aug 25, 2010 by ProThoughts
0 votes
Answering first part of Your question: If You want to make the button more obvious, You can achieve this through css.
Open the css file and add the following classes:

.qa-nav-main-ask .qa-nav-main-link {background:#f00;}
.qa-nav-main-ask .qa-nav-main-link:hover{background:#0f6;}
.qa-nav-main-ask .qa-nav-main-selected {background:#00f;}

You can as well do this for any tab as You prefer just change ask against: activity , questions , unanswered , tag or user (taken from the url of the pages)

The upper example changes the backgroundcolor from red to green to blue.

By using position: absolute You as well can move the tabs however You want.. (May be there is a better way, but this way I am doing it.)
answered Aug 25, 2010 by monk333