Skip to content

Problem with button card styling #1004

Discussion options

You must be logged in to vote

I'm suprized something works at all.
You have a styles: | to much in your code.

You're on the right track. Keep going all your code works for me once I remove above mentioned error.

Final code:

type: custom:bubble-card
card_type: button
button_type: name
name: Temps
icon: mdi:home-thermometer-outline
icon_color: blue
tap_action:
  action: navigate
  navigation_path: "#pop-up-temps"
grid_options:
  columns: 6
  rows: 1
card_layout: large
styles: |-
  .bubble-icon-container {
    background: rgb(230, 128, 41);
  }

  .bubble-button-card-container {
    background: rgba(12,120,50,0.5) !important;
  }

  .bubble-icon {
    color: blue !important;
  }


If this solves your issue, please mark …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@derousse
Comment options

Answer selected by derousse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment