Here is a list of some of my CSS code on some of my tiles on my dashboard.
Depending on the tile they can be all over the place on modifying a tile. Google inspect will give you the clues and then it was kind of a guessing game.
Noob question... I assume the group "Label" tile you are using (IE: Front, Living Room, etc) are "Text" tiles? If so, how are you making them 1/2 or 1/4 height? If not using a standard Text tile, can you share the CSS that your are using for these?
See posts #1 and #2. You can either change the font size (in points) or also probably scale the element.
EDIT: Ahh sorry, misread your post. I did the same as @anon81541053 to get them to fit on a tablet screen and each tile for me also ended up being the same 3H x 1L ! Go figure!
Seeing this thread I thought I'd share a snippet that works universally for me to replace tile-title:
.tile-title:after {
visibility: visible;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
overflow: hidden;
white-space: nowrap !important;
} #tile-94 .tile-title {
visibility: hidden;
} #tile-94 .tile-title:after {
content: 'A very long title to crop';
}
This should work with any tile-size and layout for replacing tile-title, or any other div with some modification. Hope it is of help to someone. No need to change percentages...
EDIT: Do not use this, there is a better approach in a later post.
Do you know how to edit the text labels in the thermostat tile. For e.g. I would like to hide the word "Heat". So far I have only been able to achieve this with inadvertently hiding other elements.
I've tried that before .. and can hide it, but it removes other elements in the same thermostat tile that have the inline block (for e.g. the mode block)
Is there a way to remove that inline block only and leave the other two?
Related to this thread, i can't recommend these plugins/extensions enough:
Stylebot (let's you do real time editing of CSS, but it seems to have a bug happening right now where it puts every character you type on a new line)
alternatively
I also wanted to note something that is super helpful to know in CSS-land:
{ visibility: hidden; /* hides the element but keeps the "occupied space" of it */ }
{ display: none; /* hides the element and frees up it's space taken */ }
Yeah, it's great. As of this morning (my time). Just last week I shortened a few of my device names, but this will mean I wont have to do any more. Thanks!