this might be a long shot, but since the custom-card with the āissueā I have with it seems abandoned, please let me ask here:
can we style the position of the title of these shutter cards, which now all seem randomly aligned above the shutter image. Card option is set to 'top. but other than that, the card doesnt offer styling options:
Hi. Iām working on a theme in a āNeuromorphic styleā
Iām able to customize elements but only in a cards, now i wanna move config to theme file and iām searching for a help, because every try ends as a failure. Below images as it look in cards configs, and link to github with a working code.
only working sometimes, after roundtrips, reload of whatever and only within edit-more/edit popup?
Only a change in the editor (e.g. add remove indent, close/open editor ā¦) takes the changes into account and changes the icon. Is this only possible this way or a known bug/limitation?
I canāt tell you that but you can change the iconās colour. You might be able to iterate on that but I think youāll be better off applying your icons using a template (binary) sensor instead. That way, the icon will change anywhere you use the sensor and you donāt need to duplicate the work.
thank you Ildar.
though some positioning is possible like that, it seem impossible to have the name of the individual screen align horizontally with the icons of the up/downā¦
Ive also tried a little hack, by using name: 'Name ' so the spaces would cause some horizontal shift, but apparently the spaces are trimmed ;-(
and about the first mod being applied to all cards, I hadnāt noticed in y card setup, because I have a header anchor like on the first:
so it applied already I now notice the effect though too, and I believe it is what Thomas wrote before, but which is no longer in the documentation somehowā¦
the stacks are nice! didnt think of that, very clever indeed
ha, glad you like the state-switch card, so new to it and already suggesting it to me
not really sure what you suggest here? if in portrait mode, use the stack-in-card horizontal mode, if in landscape, use single card config? (I have regular 2 columns in landscape)
or
if desktop, use stack-in-card, if mobile, use not stacked cards maybe even better, given the fact the cards are cut-off right sided on mobile no matter the view
You can set it for screen pixels rather than user agent. I can show an example tomorrow if you likeā¦ lidar helped me with a couple of cards a while ago ane I ended up using bothā¦ one for iPad in Landscape mode and one for my PCā¦ works really well.
Iām looking to get the garage door icon centered vertically and the up/down buttons as well. Ideally the up/down buttons could come further in from the right hand edge as well. Any advice?
Bonus questionā¦ I have another card just the same for āopenā which is red. Is there any way to have just one card that changes colour based on the state?
I am just starting to learn how to add CSS to Lovelace cards and I am sure my question is very silly but when I see a code I like to understand all of it.
I have seen in the codes that are used some special characters, for example:
|
<<:
.:
[[ ]]
$:
Please could someone explain to me what they mean?