What?
No, that is the problem. By hiding the header we lose the ability to edit the UI. That is the functionality we want back.
What?
No, that is the problem. By hiding the header we lose the ability to edit the UI. That is the functionality we want back.
Itās not hiding the header.
Itās making it compact, you keep the edit mode:
Bug report: card-mod-view
has stopped working in 0.116, it needs to account for hui-masonry-view
.
Another bug report: You canāt style an element inside of shadow roots if it gets deleted and recreated.
Right. Thereās the confusion. You are talking about something completely different. We are talking about adding this to our theme:
card-mod-root: |
app-toolbar {
display: none;
}
And the fact that it makes the UI uneditable.
Oh. If you use the compact header option instead that should basically do the same thing, but with hiding it in a different way and applying more styles. It does that by setting height to 0 for app-toolbar, and using position
to move away the buttons back into usable range.
For the compact header option on the bottom with mobile, does the overflow menu, voice button, and sidebar button matter to you, or do you like a clean, empty header?
0 voters
Iām not sure what yes or no refer to, so I chose other: no the buttons donāt matter, yes I want a clean empty header
If the majority does want the buttons, I underatand. I would very much appreciate the code in that case to implement it myself.
Sorry, fixed that.
The hui-view element has changed the way it works.
Card-mod is still applied to the same place, and should still be applied to the same place - that way it can work even with the new custom views - but themes need to be changed.
@tom_l Next time someone asks someone for a screenshot of what is happening and youāre someone else and have a screenshot of nothing happening (?) when you donāt even do anything(?), and certainly not the thing thatās discussed (?) - try to provide some context right away and youāll save us all some time.
I have the whole Soft UI cocept going on a few different dashboards designed for different formats and all are using KTibowās dark and light theme set appropriately for sun.sun state with an automation. My problem is that I need some things happening on different dashboards based on the user signed in. How can I, for example, completely disable Header and sidebar for user X but only on Dashboard A? I know I could assign the devices using dashboard A their own theme, but then I lose the dark/light autochanging automation since it will no longer be backend selected. Iām currently at the dentist office with my 3 kids and typing this on my phone, so hopefully it makes sense. Lol
Edit: edited for your sanityā¦ Some stuff made no sense.
Using Jinja2 templates
Ok but you are never allowed to update your themes again because having to re add all my custom stuff everytime you improve your themes would drive me around the bend. Deleting the single column stuff everytime is enough. Lol
Themes werenāt designed for this. Someone needs to add a mod that lets you define jinja2 variables that themes can use
Agreed. Someone please take over Custom Header. Thatās how I do all this now.
And, yes, I realize I am being a whiney little baby man right now.
Regarding the survey ā¦ in my case what I use is the mobile, I would like a header with only the side menu button
Okay, so making a new survey. Check all buttons you still want around on mobile devices. (On desktop it wonāt change)
0 voters
This is pretty much what I was getting at yesterday.
Iām probably only going to add to the confusion, and Iām sorry in advance for that :-).
But what I want is:
Itās okay, I just updated it. Sorry, didnāt realize it was unclear.
Ah. Now you have a great learning opportunity!
https://www.w3schools.com/css/css3_mediaqueries.asp
https://www.w3schools.com/css/css3_mediaqueries_ex.asp