Hello,
Is it possible to make the text size of the switches bigger? Read the wiki, but can't find it.
custom.css Text size
Moderators: leecollings, htilburgs, robgeerts
custom.css Text size
Domoticz latest stable, Intel NUC, Proxmox, Zigate, RFLink, Kaku switches, Ikea lights, Xiaomi sensors, Honeywell smoke detectors, Yeelight, Shelly, Slave Domoticz PI 3B+, Node-Red, Espeasy.
- HansieNL
- Posts: 964
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: custom.css Text size
As far as I know is there no specific css class for only switches.
You can add your own class to your switches:
You can then change the text size via custom.css:
You can add your own class to your switches:
Code: Select all
blocks['block_switch'] = {
idx: 123,
addClass: 'blocksw'
}
Code: Select all
.blocksw .title {
font-size: 200% !important;
}
.blocksw .state {
font-size: 150% !important;
}
.blocksw .lastupdate {
font-size: 300% !important;
}
Blah blah blah
Who is online
Users browsing this forum: No registered users and 1 guest