hide_title Topic is solved

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

hide_title

Post by HansieNL »

Image
I'm wanna remove the titles of the 2 blocks, so that the data will be more vertically centered. I thought I had read some time ago about the option blocks[48]['hide_title'] = true; but that doesn't seem to work. What is the best way to get rid off the title block completely?

Now I've this code:

Code: Select all

blocks[406] = {} //Thermostaatinstelling (Toon Setpoint)
    blocks[406]['title'] = ''; //Empty title
blocks[48] = {} //Thermostaat (Selector Switch for Toon Program State)
    blocks[48]['title'] = '';
    blocks[48]['width'] = 8;
Blah blah blah
EastXIII
Posts: 29
Joined: Monday 08 October 2018 13:56
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: hide_title

Post by EastXIII »

I've got this in my custom.css and it works for me;

Code: Select all

.block_40 {   
font-size:0px !important;
}
*Edit; When the alignment still isn't right you can use 'margin-top: *px !important;' to align just this block to your liking.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest