Page 1 of 1

hide_title

Posted: Friday 07 June 2019 19:10
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;

Re: hide_title

Posted: Tuesday 11 June 2019 16:58
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.