Hi everyone, first of all thanks Teemu for this nice switch button. It's r

Hi everyone,

first of all thanks Teemu for this nice switch button. It’s really helpful!

Is there a chance, that I can change the text of the switch, what I mean is, instead of having on/off text, having some random text like, Left/Right or Green/Red.

Thanks in advance,
R.

It can be done by updating your theme CSS. You can do something like this thiny example:

.yourSwitchClass.on > div::after {
	content: "Y" !important;
}
.yourSwitchClass.off > div::after {
	content: "N" !important;
}