Hello,
I am using a css-swipe-card but i am unable to force the card sizes inside of the swiper
On the swiper it looks like this
But it sould look like this
The yaml i am using is below and i cant understand why it wont use the rows and columns
type: grid
cards:
- type: custom:css-swipe-card
cardId: YourUniqueCardName
template: slider-horizontal
auto_height: true
pagination: true
navigation: false
card_gap: 0rem
timer: 0
navigation_next: mdi:chevron-right
navigation_prev: mdi:chevron-left
height: 10rem
cards:
- type: thermostat
entity: climate.my_spa_heater
name: Hot Tub
- type: grid
cards:
- type: custom:timer-bar-card
entity: timer.clean_filter
name: Hot Tub - Rinse Filter (30 Days)
icon: mdi:water
invert: true
bar_width: 80%
format: d
mushroom:
layout: vertical
color: green
grid_options:
columns: 6
rows: 2
- type: custom:timer-bar-card
entity: timer.hot_tub_clean_filter
name: Hot Tub - Clean Filter (60 Days)
icon: mdi:spray-bottle
invert: true
format: d
bar_width: 80%
mushroom:
layout: vertical
color: yellow
grid_options:
columns: 6
rows: 2
- type: custom:timer-bar-card
entity: timer.hot_tub_change_water_3_months
name: Hot Tub - Change Water (3 Months)
icon: mdi:water-pump
invert: true
format: d
bar_width: 80%
mushroom:
layout: vertical
color: blue
grid_options:
columns: 6
rows: 2
- type: custom:timer-bar-card
entity: timer.hot_tub_service
name: Hot Tub - Service (2 Years)
icon: mdi:hammer-wrench
invert: true
format: d
bar_width: 80%
mushroom:
layout: vertical
color: purple
grid_options:
columns: 6
rows: 2
- type: custom:timer-bar-card
entity: timer.hot_tub_non_chlorine_shock
name: Hot Tub - Non-Chlorine Shock (14 Days)
icon: mdi:chemical-weapon
invert: true
bar_width: 80%
format: d
mushroom:
layout: vertical
color: orange
grid_options:
columns: 6
rows: 2
- type: custom:timer-bar-card
entity: timer.hot_tub_chlorine_shock
name: Hot Tub - Chlorine Shock (14 Days)
icon: fas:skull-crossbones
invert: true
bar_width: 80%
format: d
mushroom:
layout: vertical
color: red
grid_options:
columns: 6
rows: 2
custom_css:
"--navigation-button-next-color": white
"--navigation-button-next-background-color": cornflowerblue
"--navigation-button-next-width": 50px
"--navigation-button-next-height": 50px
"--navigation-button-prev-color": white
"--navigation-button-prev-background-color": orchid
"--navigation-button-prev-width": 50px
"--navigation-button-prev-height": 50px
"--pagination-bullet-active-background-color": cornflowerblue
"--pagination-bullet-distance": 5px
column_span: 1