I had to revert to 2024.7 due to my intensive use of Alexa Media Player that was not working with the 2024.8 betas.
So I had to give up on that one. Pretty sure someone will come with a solution soon now that 2024.8.0 is officially out there.
ok that is a good start, if you can see it changing when entering that, next go to the link in the first post, and find the post about secondary-info-rowmultiple-entity-row, and see how those properties are changed. It might not be there exactly but probably other properties of the secondary row like color etc are.
give it a try and report back please?
yeah, i dont need the space between the lines, why do you use line-height and no margin etc.? how do you find this?
i currently dont understand the right building when i try to use card_mod in combi with the dev console from the browser
Edit: ah you use the integration style for that, it looks like i over read it, sorry, but can you maybe tell my what is the right code when i try to use it via card_mod maybe i understand it then a little better
if a card has the option to do this natively, you really should use that, and not try to overload it with card-mod. The styles: object allows you to
Add custom CSS styles to the entity element
which is a very nice feature of this card. it basically opens up all CSS options. always turn to eg CSS Tutorial to find what is in the toolbox on a given element, be it a card, image or text.
and adapt it to the new Dom path (in the screen below I traversed to the label, whihc is the section we cant set theme variables for, or hardly. We need to card_mod the color, background-color and border-radius, maybe more)
label-badge-background-color: orange
label-badge-text-color: ivory
label-badge-red: '#03a9f4'
ha-label-badge-font-size: 15px
ha-label-badge-size: 30px
ha-label-badge-border-radius: 0
# X ha-label-badge-color: yellow
# X ha-label-badge-label-text-transform: lowercase #capitalize|none|uppercase|lowercase
ha-label-badge-label-color: white
# X ha-label-badge-label-background-color: ivory
ha-label-badge-title-font-size: 10px
ha-label-badge-title-font-weight: 400
ha-label-badge-title-width: 50px
# X ha-label-badge-title-color: white
# need .label-badge .label span for label background-color, color, border-radius
the commented lines with an X show theme variables in the resources but, when used as above, dont have any effect. Hence the need for card_mod on those
yes, this custom way of loading badges is actually the same badge as the ones in picture-elements.
Are you saying we need that same modifier now in the badge as in the picture-elements?
ive tried to walk the dome, and this should be the path:
which I also tested, to do nothing
whats more, the mods on border didnt even work in the Inspector, except border-radius, thats why I was focussing on the 3 elements that did work in Inspector first. color, background-color and border-radius.