How can i adjust the size of the blocktitle?
Above the devices
And where do i need to put it ?
In custom.css or customconfig
I tryed things like it says on the dashticz site but it just stays the same text size.
I dont understand why.
Block title
Moderators: leecollings, htilburgs, robgeerts
- HansieNL
- Posts: 960
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Block title
I'm not sure, but do you mean the blocktitle text?
Can you post your config part for the blocktitle you want to resize.
Can you post your config part for the blocktitle you want to resize.
Blah blah blah
-
- Posts: 252
- Joined: Sunday 09 October 2016 20:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Nederland
- Contact:
Re: Block title
I mean the text “verwarming” i want it bigger
blocks['blocktitle_4'] = {}
blocks['blocktitle_4']['type'] = 'blocktitle';
blocks['blocktitle_4']['title'] = 'Verwarming';

blocks['blocktitle_4'] = {}
blocks['blocktitle_4']['type'] = 'blocktitle';
blocks['blocktitle_4']['title'] = 'Verwarming';

- Attachments
-
- DA63CBA4-6E2E-45BB-81CC-AB1EC7F976B9.jpeg (125.18 KiB) Viewed 1830 times
- HansieNL
- Posts: 960
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Block title
You can use one of the following codes. You have to add one of these to custom.css.
You can change the size by changing 12px or 200%
Code: Select all
[data-id='blocktitle_4'] .dt_title {
font-size: 12px !important;
}
Code: Select all
[data-id='blocktitle_4'] .dt_title {
font-size: 200% !important;
}
Blah blah blah
-
- Posts: 252
- Joined: Sunday 09 October 2016 20:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Nederland
- Contact:
Re: Block title
Thanks for your help,
It doesnt work the title stays the same size.
Could it be that another file is blocking it for changing?
Like custom.js? Or another one.
Sorry i am new to dashticz
It doesnt work the title stays the same size.
Could it be that another file is blocking it for changing?
Like custom.js? Or another one.
Sorry i am new to dashticz
- HansieNL
- Posts: 960
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Block title
Can you try with a custom.css. with only one of the above codes and change the size and see if that works.
If that works than you have to check your custom.css if it contains wrong code.
If that works than you have to check your custom.css if it contains wrong code.
Blah blah blah
-
- Posts: 252
- Joined: Sunday 09 October 2016 20:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Nederland
- Contact:
Re: Block title
Ok ,
I will try that.
Thank you
I will try that.
Thank you
Who is online
Users browsing this forum: No registered users and 0 guests