RenderHook css problem in login page (dark / light theme)
Hello.
I am using a PanelsRenderHook::TOPBAR_START to render a copyright view in my application and it is working fine using CSS for dark or light mode.
Working fine with this CSS to know whether it is dark or light mode:
My CSS:
The problem is that for the login page I am using:
and the same CSS which works inside the application is NOT WORKING FINE in the login page. It is able to know when theme is dark, but it shows both logos (dark mode and light mode ones) when theme is light.
Any ideas, please?
2 Replies
Solution
remove
style="display:flex;"
It works!
Thank you very much.