2016-09-07, 01:40 AM
Hello,
i was trying to change the style of the new thread button, but for some reason the text color of the button doesn't change (should be white), while the background does and while the text color does change on mouse hover. I am quite confused why this would happen, would appreciate some help.
Css:
<a href="newthread.php?fid={$fid}" class="button2"><span>{$lang->post_thread}</span></a>
Demo of the issue:
i was trying to change the style of the new thread button, but for some reason the text color of the button doesn't change (should be white), while the background does and while the text color does change on mouse hover. I am quite confused why this would happen, would appreciate some help.
Css:
.button2 {
-webkit-border-radius: 3;
-moz-border-radius: 3;
border-radius: 3px;
font-family: Arial;
color: #ffffff;
font-size: 19px;
background: #e04141;
padding: 5px 18px 5px 18px;
border: solid #969696 1px;
text-decoration: none;
}
.button2:hover {
-webkit-border-radius: 3;
-moz-border-radius: 3;
border-radius: 3px;
color: #ffffff;
background: #f5db34;
font-size: 19px;
text-decoration: none;
}
Forum display new thread looks like this:<a href="newthread.php?fid={$fid}" class="button2"><span>{$lang->post_thread}</span></a>
Demo of the issue: