Hello,
I want to change the text “now” of the Date Time widget. I tried using a custom CSS, but it doesn’t work. Does anyone have any other ideas?
.knime-datetime.knime-now{
content: 'Jetzt';
}
.knime-now{
content: "Jetzt";
}
Hello,
I want to change the text “now” of the Date Time widget. I tried using a custom CSS, but it doesn’t work. Does anyone have any other ideas?
.knime-datetime.knime-now{
content: 'Jetzt';
}
.knime-now{
content: "Jetzt";
}
First of all, legacy mode must be enabled.
I then went into the CSS editor node and added:
.knime-qf-button.knime-now{
visibility: hidden;
}
.knime-qf-button.knime-now:after {
content:'Jetzt';
visibility: visible;
}
It produced an image that looked like this:
Additional non-inherited properties (border, padding, etc.) should probably be listed as well in the :after, with :inherited as the value.
Hello, thanks for the tip about the “legacy mode” that had completely been overlooked in the guide for CSS styling. The solution works. But I find it very cumbersome to restyle everything just to change the text for a button. The Knime Analytics Platform is very inconsistent here.
Stephan
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.