textBox class not applied in v2.0

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 years ago
In v1.9 we have "textBox" class applied to all text boxes via the skin configuration.
In v2.0 the same class is present in the css file but is not applied anywhere.

A solution I found for this issue is here below:
    <script type="text/javascript">
        window.onload = function () {
            var inputs = document.getElementsByTagName('input');
            for (i = 0; i < inputs.length; i++) {
                if (inputs[i].type.match(/text/i)) {
                    inputs[i].className = 'textBox';
                }
            }
        }
    </script>

But on heavy pages it renders first the basic style.
The "textBox" class is applied in a second stage so the reneding switch is quite notable.

Does anybody know how to apply the "textBox" class similarly to v1.9 so that the page renders correctly all text boxes on page load?
12 years ago
I've just found a solution:

In the css replace
.textBox
with
input[type=text]
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.