Page 1 of 1
Block title
Posted: Sunday 13 November 2022 15:42
by edwin1234
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.
Re: Block title
Posted: Sunday 13 November 2022 18:19
by HansieNL
I'm not sure, but do you mean the blocktitle text?
Can you post your config part for the blocktitle you want to resize.
Re: Block title
Posted: Sunday 13 November 2022 19:18
by edwin1234
I mean the text “verwarming” i want it bigger
blocks['blocktitle_4'] = {}
blocks['blocktitle_4']['type'] = 'blocktitle';
blocks['blocktitle_4']['title'] = 'Verwarming';

Re: Block title
Posted: Sunday 13 November 2022 21:06
by HansieNL
You can use one of the following codes. You have to add one of these to custom.css.
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;
}
You can change the size by changing
12px or
200%
Re: Block title
Posted: Monday 14 November 2022 6:39
by edwin1234
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
Re: Block title
Posted: Monday 14 November 2022 16:47
by HansieNL
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.
Re: Block title
Posted: Monday 14 November 2022 17:12
by edwin1234
Ok ,
I will try that.
Thank you