Page 1 of 1

custom.css Text size

Posted: Friday 07 October 2022 20:49
by marktn
Hello,

Is it possible to make the text size of the switches bigger? Read the wiki, but can't find it.

Re: custom.css Text size

Posted: Saturday 08 October 2022 14:45
by HansieNL
As far as I know is there no specific css class for only switches.
You can add your own class to your switches:

Code: Select all

blocks['block_switch'] = {
	idx: 123,
	addClass: 'blocksw'
}
You can then change the text size via custom.css:

Code: Select all

.blocksw .title {
	font-size: 200% !important;
}

.blocksw .state {
	font-size: 150% !important;
}

.blocksw .lastupdate {
	font-size: 300% !important;
}