Dear all,
i am trying to create a new page for my wall tablet.
However, i do have two issues:
- How to align the text to the left in a oh-label-card?
- I want to move the artist and music title information to the left side.
- How to remove these gray borders around all cards?
This is how the page currently looks like (in “Run Mode”: on):
This is the YAML:
config:
layoutType: fixed
fixedType: grid
label: Screensaver Light
sidebar: true
screenWidth: 800
screenHeight: 1280
colNum: 16
margin: 0
hideNavbar: true
hideSidebarIcon: true
style:
--f7-block-text-color: black
--f7-page-bg-color: white
--f7-text-color: black
blocks: []
masonry: null
grid:
- component: oh-grid-item
config:
x: 0
y: 0
h: 3
w: 16
slots:
default:
- component: oh-clock-card
config:
timeFontWeight: bold
- component: oh-grid-item
config:
x: 0
y: 7
h: 6
w: 16
slots:
default:
- component: widget:weatherCard_auswahl_lightTheme
config:
itemPrefix: OneCallAPIweatherandforecast_
itemPrefix2: Localweatherandforecast_
forecastHours: "4"
forecastDays: "4"
bigCard: true
fontColor: 0,0,0
textShadowColor: 255,255,255
dateFormat: true
timestampSuffix: " Uhr"
wordingFeel: Gefühlt
wordingForecastHours: Stündlich
wordingForecastDays: Täglich
wordingForecastPrecib: "% Regen"
wordingNow: Jetzt
wordingToday: Heute
wordingSunrise: Sonnenaufgang
wordingSunset: Sonnenuntergang
- component: oh-grid-item
config:
x: 0
y: 3
h: 4
w: 7
slots:
default:
- component: oh-label-card
config:
icon: "=(items.OneCallAPIweatherandforecast_Current_Iconid.state === '01d') ? 'f7: sun_max_fill' : (items.OneCallAPIweatherandforecast_Current_Iconid.state === '01n') ? 'f7: moon_stars_fill' : (items.OneCallAPIweatherandforecast_Current_Iconid.state === '02d') ? 'f7: cloud_sun_fill' : (items.OneCallAPIweatherandforecast_Current_Iconid.state === '02n') ? 'f7: cloud_moon_fill' : (items.OneCallAPIweatherandforecast_Current_Iconid.state === '03d') ? 'f7: cloud_fill' : (items.OneCallAPIweatherandforecast_Current_Iconid.state === '03n') ? 'f7: cloud_fill' : (items.OneCallAPIweatherandforecast_Current_Iconid.state === '04d') ? 'f7: cloud_fill' : (items.OneCallAPIweatherandforecast_Current_Iconid.state === '04n') ? 'f7: cloud_fill' : (items.OneCallAPIweatherandforecast_Current_Iconid.state === '09d') ? 'f7: cloud_heavyrain_fill' : (items.OneCallAPIweatherandforecast_Current_Iconid.state === '09n') ? 'f7: cloud_heavyrain_fill' : (items.OneCallAPIweatherandforecast_Current_Iconid.state === '10d') ? 'f7: cloud_sun_rain_fill' : (items.OneCallAPIweatherandforecast_Current_Iconid.state === '10n') ? 'f7: cloud_moon_rain_fill' : (items.OneCallAPIweatherandforecast_Current_Iconid.state === '11d') ? 'f7: cloud_sun_bolt_fill' : (items.OneCallAPIweatherandforecast_Current_Iconid.state === '11n') ? 'f7: cloud_moon_bolt_fill' : (items.OneCallAPIweatherandforecast_Current_Iconid.state === '13d') ? 'f7: cloud_snow_fill' : (items.OneCallAPIweatherandforecast_Current_Iconid.state === '13n') ? 'f7: cloud_snow_fill' : (items.OneCallAPIweatherandforecast_Current_Iconid.state === '50d') ? 'f7: cloud_fog_fill' : (items.OneCallAPIweatherandforecast_Current_Iconid.state === '50n') ? 'f7: cloud_fog_fill' : '?'"
vertical: true
iconSize: 100
item: OneCallAPIweatherandforecast_Current_Condition
noBorder: true
noShadow: true
outline: false
iconColor: gray
- component: oh-grid-item
config:
x: 7
y: 3
h: 4
w: 9
slots:
default:
- component: oh-label-card
config:
item: XiaomiKlimaSensor4_Temperatur
fontSize: 80px
noBorder: true
noShadow: true
slots: null
- component: oh-grid-item
config:
x: 2
y: 14
h: 5
w: 5
slots:
default:
- component: oh-image-card
config:
noBorder: true
noShadow: true
item: EchoSpotSchlafzimmer_BildURL
refreshInterval: 5000
- component: oh-grid-item
config:
x: 7
y: 14
h: 2
w: 9
slots:
default:
- component: oh-label-card
config:
class:
- justify-content-right
style:
text-align: left
item: EchoSpotSchlafzimmer_Untertitel1
fontSize: 30px
text-align: left
noBorder: true
noShadow: true
slots: null
- component: oh-grid-item
config:
x: 7
y: 16
h: 3
w: 9
slots:
default:
- component: oh-label-card
config:
item: EchoSpotSchlafzimmer_Titel
- component: oh-grid-item
config:
x: 0
y: 14
h: 2
w: 2
slots:
default:
- component: oh-label-card
config:
noBorder: true
noShadow: true
icon: f7:play_fill
iconSize: 50
label: " "
canvas: []
Can someone help?
Thank you!