Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
in Themes by
Hi guys!
I want to change the color of the "Questions" button in the main menu (assign class "qa-nav-main-selected") when reviewing any question.
How to do it?
Or maybe there is another way?
Thank you!
Q2A version: 1.6
+1 This is nice idea..let me see if I can find any hook for it. Meantime let's see from others reply.

1 Answer

+1 vote

I had the same problems, and my solution in your css =>

.qa-nav-main-custom-5 .qa-nav-main-link {color:white;font-weight:bold; border:1px solid #004566;}

replace .qa-nav-main-custom-5 by your button class question.

Thanks for the answer!
How can I replace .qa-nav-main-custom-5 my button class question?

I have found another solution:

Created css-style for the "Questions" button and put it with the plugin "Widget Anywhere" in the "HEAD" pages of questions.

For example (If you take your style):

.qa-nav-main-questions > .qa-nav-main-link    {color:white !important;font-weight:bold !important;border:1px solid #004566 !important;}

I have everything working!

PS. I am sorry for my bad english :-)