If an interface element, say a button on your page, was styled differently in a particular browser, it would imply, that styling is being overridden by the browser’s (also known as the user agent) stylesheet. There was a similar situation with
If an interface element, say a button on your page, was styled differently in a particular browser, it would imply, that styling is being overridden by the browser’s (also known as the user agent) stylesheet. There was a similar situation with the styling of the default button in Bootstrap, in Google Chrome.
How the Bootstrap Buttons are actually Styled
But the Default Button Text was styled differently in Chrome…
The Bootstrap default button looked fine in other browsers, but in Google Chrome, the text color for the default button was white.
And since the button color is a gray gradient, this text was barely visible. This happened because the default styling was being overridden.
What is the case of this Problem?
We had to investigate a bit before finding the actual problem. This happened because we had the Redmine Extended v1.4 Chrome Extension installed in our browser. This extension also defined a class “.btn” in the stylesheet, which specifies a white font color, overriding the “.btn” class by Bootstrap stylesheets.
We could verify this by disabling the extension.
How to solve this problem
The easiest way to solve this is to change the classname “.btn”, to “.btn_redmine” (or any other non-generic class name), in redmine.js and style.css of the Redmine Extended Chrome Extension.
You can find these files at “\AppData\Local\Google\Chrome\UserData\Default\Extensions\mkpkclfhemlehfbeinbjnbjebbikgfpb\1.4_0”
Once you rename the class, you will be able to view the default button properly, at your end.
Redmine Extended v1.4 could be one of many such extensions which use the “.btn” class.
Hence, if you are a web designer or developer, and using Bootstrap for your project, it is recommended that you do not edit the Redmine Extension files. You can instead, add a class “.btn-default”, in your own c