Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
253 views
in Q2A Core by
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!

2 Answers

0 votes
by
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
0 votes
by
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.)

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.

Categories

...