Block title

Moderators: leecollings, htilburgs, robgeerts

Post Reply
edwin1234
Posts: 252
Joined: Sunday 09 October 2016 20:20
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Nederland
Contact:

Block title

Post 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.
User avatar
HansieNL
Posts: 960
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Block title

Post 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.
Blah blah blah
edwin1234
Posts: 252
Joined: Sunday 09 October 2016 20:20
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Nederland
Contact:

Re: Block title

Post by edwin1234 »

I mean the text “verwarming” i want it bigger
blocks['blocktitle_4'] = {}
blocks['blocktitle_4']['type'] = 'blocktitle';
blocks['blocktitle_4']['title'] = 'Verwarming';
Image
Attachments
DA63CBA4-6E2E-45BB-81CC-AB1EC7F976B9.jpeg
DA63CBA4-6E2E-45BB-81CC-AB1EC7F976B9.jpeg (125.18 KiB) Viewed 1830 times
User avatar
HansieNL
Posts: 960
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Block title

Post 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%
Blah blah blah
edwin1234
Posts: 252
Joined: Sunday 09 October 2016 20:20
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Nederland
Contact:

Re: Block title

Post 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
User avatar
HansieNL
Posts: 960
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Block title

Post 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.
Blah blah blah
edwin1234
Posts: 252
Joined: Sunday 09 October 2016 20:20
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Nederland
Contact:

Re: Block title

Post by edwin1234 »

Ok ,
I will try that.
Thank you
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests