Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Change "Question" & "Answered" background colors
How would I style the backgrounds of the Question and Answered info buttons on the discussions page? I'm using a dark theme and would like to achieve some contrast for UI purposes.
Can't seem to find any CSS references in the plugin directory.
My URL: gmauthority.com/forum/
Can't seem to find any CSS references in the plugin directory.
My URL: gmauthority.com/forum/
Tagged:
0
Best Answer
-
hungle88 NewThis is my style for the QnA plug-in.
.Tag {
background: #0065C3;
border-radius: 2px;
color: white;
font-weight: bold;
padding: 1px 4px;
}
.Tag.QnA-Tag-Question {
background: #E12E2D;
border-radius: 2px;
color: #FFFFFF;
font-weight: bold;
padding: 2px 4px;
}
.Tag.QnA-Tag-Accepted {
background: #55BE26;
border-radius: 2px;
color: #FFFFFF;
font-weight: bold;
padding: 2px 4px;
}
1
Answers
as I said some things in vanilla still costs us who are set to newbies, but anything's possible mood.
Thanks! Alex
<span class="Tag QnA-Tag-Answered">Answered</span>
style.css: .QnA-Tag-Answered { background-color: #DD0000; }
Thank you firefox / firebugThere was an error rendering this rich post.
There was an error rendering this rich post.
There was an error rendering this rich post.
.Tag {
background: #0065C3;
border-radius: 2px;
color: white;
font-weight: bold;
padding: 1px 4px;
}
.Tag.QnA-Tag-Question {
background: #E12E2D;
border-radius: 2px;
color: #FFFFFF;
font-weight: bold;
padding: 2px 4px;
}
.Tag.QnA-Tag-Accepted {
background: #55BE26;
border-radius: 2px;
color: #FFFFFF;
font-weight: bold;
padding: 2px 4px;
}
Old topic I know but new to me. Anyone have this working thats open to sharing what and where to place the code in the style.css?
I'm working off the default theme.
appreciate the help
It is better to create your own custom.css under the design directory of your theme. put anything you want in there.
e.g. if your theme is EmbedFriendly
vanilla/themes/EmbedFriendly/design/custom.css
read the documentation and wiki on themes - it will add to your ability to understand. guaranteed.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Cool thanks mate! Appreciate the help.