.tile .title { font-size: <specify size in points or em units>; }
-and- .tile .title-footer { font-size: <specify size in points or em units>; }
should to the trick
Note: if you don’t see any changes, you may need to add !important clause before the semicolon to force these styles to override other definitions
Example: .tile .title { font-size: 2.5em !important; }
.tile {background-color: RGBA(130, 0, 0, 0.5)!important;} Blue with a 50% transparency
Color value/transparency is specified as: RGBA(red, green, blue, alpha). The alpha parameter is a number between 0.0 (fully transparent) and 1.0 (fully opaque).
Most tiles will also add an ‘active’ class to the tile if you want to target things more generically.
Eg.
.tile.active {
background: red;
}
Please note that any custom CSS snippets provided are not officially supported and may need to be adjusted with potential future changes to the SharpTools web app.
A user on Facebook was asking how they could have a Konnected Siren (switch) only show the Label (title) as the main content and no icon, so I wanted to share the snippet here for reference:
.tile.switch .icon {
display: none; /* hide the icon */
}
.tile.switch .title {
font-size: 2em; /* 2x font size */
height: 100%; /* fill the full tile height for centering */
top: 0; /* align to the top of the tile; remove top padding from title */
display: flex; /* enable vertical centering */
align-items: center; /* horizontally align */
justify-content: center; /* vertically align */
}
/* The style below targets everything in the title
to make it have a ellipsis if the text overflows */
.tile.switch .title * {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
Please note that any custom CSS snippets provided are not officially supported and may need to be adjusted with potential future changes to the SharpTools web app.
Hello, I am using the Thermostat Tile setup as 1 tile wide and 2 tiles high. I would like to make some changes to the text size and possibly move things around. Is there any known code for Thermostats that I can start with?
Font (text) size can be set using the following CSS: font-size: 3em;
Please note that any custom CSS snippets provided are not officially supported and may need to be adjusted with potential future changes to the SharpTools web app.