Space between icon and blocktitle
Moderators: leecollings, htilburgs, robgeerts
-
- Posts: 287
- Joined: Sunday 09 October 2016 20:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Nederland
- Contact:
Space between icon and blocktitle
Cant find a way to get more space between icon and blocktitle
I have made larger icon and larger blocktitles for a small screen its better to read now but
The icon is almost touching the title.
How to make more space between them but keep the size
Thanks
Edwin
I have made larger icon and larger blocktitles for a small screen its better to read now but
The icon is almost touching the title.
How to make more space between them but keep the size
Thanks
Edwin
- RonkA
- Posts: 115
- Joined: Tuesday 14 June 2022 12:57
- Target OS: NAS (Synology & others)
- Domoticz version: 2025.1
- Location: Harlingen
- Contact:
Re: Space between icon and blocktitle
I use 'empty' caracters from the Times New Roman font like ' ' to add extra spaces to textdevices because Domoticz removes these extra spaces.
Maybe add one in front of the blocktitle?
Copy/paste this one or lookup another in 'speciale tekens' in windows ('special characters' in Dutch)
Maybe add one in front of the blocktitle?
Copy/paste this one or lookup another in 'speciale tekens' in windows ('special characters' in Dutch)
SolarEdge ModbusTCP - Kaku - Synology NAS - Watermeter - ESPEasy - DS18b20
Work in progress = Life in general..
Work in progress = Life in general..
-
- Posts: 287
- Joined: Sunday 09 October 2016 20:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Nederland
- Contact:
Re: Space between icon and blocktitle
Thanks for your answer,
U mean like this?
blocks[‘ ‘'blocktitle_1'] = { //'blocktitle_1' must be an unique name
U mean like this?
blocks[‘ ‘'blocktitle_1'] = { //'blocktitle_1' must be an unique name
- madpatrick
- Posts: 667
- Joined: Monday 26 December 2016 12:17
- Target OS: Linux
- Domoticz version: 2025.1
- Location: Netherlands
- Contact:
Re: Space between icon and blocktitle
You can change the layout in Dashticz "quit easy" with css commands
check out :
https://dashticz.readthedocs.io/en/mast ... omcss.html
https://www.w3schools.com/css/
for example you can use the padding option
check out :
https://dashticz.readthedocs.io/en/mast ... omcss.html
https://www.w3schools.com/css/
for example you can use the padding option
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2025.1 -=- Dashticz v3.14b on Tab8" =-
-
- Posts: 287
- Joined: Sunday 09 October 2016 20:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Nederland
- Contact:
Re: Space between icon and blocktitle
Thanks,
I’m going to learn some css i gues
I’m going to learn some css i gues

- madpatrick
- Posts: 667
- Joined: Monday 26 December 2016 12:17
- Target OS: Linux
- Domoticz version: 2025.1
- Location: Netherlands
- Contact:
Re: Space between icon and blocktitle
It is not that hard.
You need to know which names to use in Dashticz.
If you post you lines of the device and explain what you want maybe i can help
You need to know which names to use in Dashticz.
If you post you lines of the device and explain what you want maybe i can help
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2025.1 -=- Dashticz v3.14b on Tab8" =-
-
- Posts: 287
- Joined: Sunday 09 October 2016 20:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Nederland
- Contact:
Re: Space between icon and blocktitle
Thanks for your help
This is the device:
blocks[28] = {
width:6,
title:"Power", // eigen titel bij device
icon:'fa-solid fa-mobile',
color:'#ff1493',
“Power” is to close to the icon must go more to the right and the color of the icon stays white instead of #ff1493
This is the device:
blocks[28] = {
width:6,
title:"Power", // eigen titel bij device
icon:'fa-solid fa-mobile',
color:'#ff1493',
“Power” is to close to the icon must go more to the right and the color of the icon stays white instead of #ff1493
- madpatrick
- Posts: 667
- Joined: Monday 26 December 2016 12:17
- Target OS: Linux
- Domoticz version: 2025.1
- Location: Netherlands
- Contact:
Re: Space between icon and blocktitle
put something like this in your custom.css file
And now check what is happening an dplay with the options and numbers
Code: Select all
.block_28 {height: 150px !important}
.block_28 .title {font-size: 26px !important;padding: 0px 0px 0px 10px !important;}
.block_28 .col-data {font-size: 26px !important;padding: 0px 0px 0px 10px !important;}
.block_283 .value {font-size: 22px !important;padding: 0px 0px 0px 10px !important;}
.block_28 .icon {padding-left: 20px !important}
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2025.1 -=- Dashticz v3.14b on Tab8" =-
-
- Posts: 287
- Joined: Sunday 09 October 2016 20:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Nederland
- Contact:
Re: Space between icon and blocktitle
Thank u very much
Who is online
Users browsing this forum: Google [Bot] and 1 guest