Skip to content

The UMC card not displaying inside custom:css-swipe-card #109

@Tee86

Description

@Tee86

Describe the bug:

The UMC card not displaying inside custom:css-swipe-card

Config YAML:

type: custom:button-card
styles:
  card:
    - background: none
custom_fields:
  swipe_nav:
    card:
      type: custom:css-swipe-card
      cardId: YourUniqqqCardName
      template: slider-horizontal
      auto_height: false
      pagination: true
      navigation: false
      card_gap: 0.1rem
      timer: 0
      navigation_next: mdi:chevron-right
      navigation_prev: mdi:chevron-left
      height: auto
      enable_tooltips: true
      custom_css:
        "--pagination-bullet-distance": 98%
        "--pagination-bullet-active-background-color": cornflowerblue
      cards:
        - type: custom:upcoming-media-card
          entity: sensor.asd_plex_recently_added
          title: Recently added. . .
          date: ddmm
          max: 5
          image_style: fanart
          hide_flagged: false
          hide_unflagged: true
          flag: false
          text_shadows: false
          box_shadows: false
          enable_transparency: true
          disable_hyperlinks: true
        - type: custom:upcoming-media-card
          entity: sensor.sonarr_upcoming_media_sonarr_upcoming_media
          title: Coming soon. . .
          date: ddmm
          max: 5
          image_style: fanart
          hide_flagged: false
          hide_unflagged: false
          flag: false
          text_shadows: true
          box_shadows: false
          enable_transparency: true
          disable_hyperlinks: true

Troubleshooting Guide:

I found a small workaround stacking it inside of button card as custom_field, that way it displays but if you using fanart as I do, the text is misaligned (to the right)

Home Assistant Version:

latest, 2025.4.2

Screenshots:

Image

Additional Context:

Any idea what's causing this and how to fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions