Closed ghost closed 9 months ago
Having a similar issue here with 2023.4.1 and card-mod 3.2.2, none of the below config (in themes.yaml) is taken into account:
card-mod-root: |
app-header {
background: rgba(0,0,0,0.2) !important;
}
app-toolbar {
background: none !important;
}
hui-view {
background: none !important;
}
ha-app-layout {
background-position: center !important;
background-size: cover !important;
background-repeat: no-repeat !important;
background-image: url("/local/pictures/background-3.jpg") !important;
background-attachment: fixed !important;
}
Having a similar issue here with 2023.4.1 and card-mod 3.2.2, none of the below config (in themes.yaml) is taken into account:
card-mod-root: | app-header { background: rgba(0,0,0,0.2) !important; } app-toolbar { background: none !important; } hui-view { background: none !important; } ha-app-layout { background-position: center !important; background-size: cover !important; background-repeat: no-repeat !important; background-image: url("/local/pictures/background-3.jpg") !important; background-attachment: fixed !important; }
Answering my own comment in the hope it will help others.
HomeAssistant 2023.4 broke lots of front-end stuff. It looks like @thomasloven made a patch himself in f6f2641 in particular in themes.
Current config below works "almost" as before: the background image is now stretched on Android mobile app.
card-mod-root: |
app-header, div.header {
background: rgba(0,0,0,0.2) !important;
}
app-toolbar, div.toolbar {
background: none !important;
}
hui-view {
background: none !important;
}
ha-app-layout, div#view {
background-position: center !important;
background-size: auto !important;
background-repeat: repeat !important;
background-image: url("/local/pictures/background-6.png") !important;
background-attachment: fixed !important;
}
That one for root I saw, too. Anyone a clue how to fix the sidebar theming?
https://github.com/dreimer1986/yourname_card_mod/blob/master/themes/yourname_cardmod.yaml
My beloved transparency is gone...
I'm using this, with 3.2.2 HA 2023.4.x to hide chevrons, this is working...
card-mod-root-yaml: |
ha-tabs$: |
/* HIDE TAB CHEVRONS */
paper-icon-button {
display: none;
}
/* REMOVE UNUSED SPACE OF TAB CHEVRONS */
.not-visible {
display: none;
}
I recently updated my HA to the latest version, which is 2023.4.0, and Custom Header had to go because of the update.
To mimic my previous setup as closely as possible, I'm attempting to migrate card-mod-theme.
However, despite installing card-mod 3.2.2 in HACS and editing theme.yaml, card-mod-theme isn't making any changes to the header.
Here is how my theme.yaml looks like
And as you can see, the top header remains unchanged from default.
This is how I want my header to look. (This is the only screenshot I have of my previous dashboard)
Here is the old config of custom header:
By putting an X in the boxes ([]) below, I indicate that I:
[X] Understand that this is a channel for reporting bugs, not a support forum (https://community.home-assistant.io/).
[X] Have made sure I am using the latest version of the plugin.
[X] Have followed the troubleshooting steps of the "Common Problems" section of https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins.
[X] Understand that leaving one or more boxes unticked or failure to follow the template above may increase the time required to handle my bug-report, or cause it to be closed without further action.