New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display page markup on Main UI overview page (including background colors/images) #1627
Comments
Can you please provide the information how you configured the background image? |
Yes, of course. This is my YAML right at the top of the page: config: And to emphasize again... it works on all pages, but on the overview page some style information is just 'deleted'. If I display the specific page just by linking to it directly (without the overview page) it just works. |
Just tried and can confirm this wrong behavior. |
I can confirm that it doesn't work. What confuses me though that you do seem to see it during the design phase. I don't see it even even there. Would you mind providing the code of a very much simplified overview page so I am able to reproduce the issue on my side? (you can just delete most of your code in the code tab, just make sure you don't save it or make a backup of the code beforehand to be able to restore it). @hmerk Can you see it in edit mode? |
Justin actually noticed that seems to be related to the tabbed pages: |
@stefan-hoehn But what about the background color, that's what I was testing and it did not work. |
I am pretty sure it'll work as well. I am going to check tomorrow |
@stefan-hoehn Did not check the PR before my comment. Now that I have read it, I believe it will solve both issues. |
This is really great @stefan-hoehn . Thanks a lot! And also thanks @hmerk for confirming this issue. Really great if this makes it into OH4 or earlier, so I can finally complete my preferred styling all through my UI. Can I buy you a coffee/anything else or do you want me to make a donation to OpenHAB foundation? |
"Applause feeds the hunger of the artist" <3 You can become a "sustaining member", Dennis, if you like: |
Donations are also always welcome ;-) |
When designing a page in the Main UI, you can choose to use a custom background-image. This works in general, but not when that specific page is (displayed on the) overview page of the Main UI, both in the browser and on mobile.
For this reason, you cannot create the new style that for example the Apple Home app and the Homey app uses (colored background and semi-transparant/white widgets on top).
While designing ("correct"):
Displaying ("wrong"):
My suggestion is to display the background-properties on the overview page when they are defined as such.
The text was updated successfully, but these errors were encountered: