I am trying to customize kibana 7.6. I have successfully changed the logo in Header ( the logo in the tab), the logo in loading screen, and I have replaced the favicons folder.
I have used this topic to do the above.
However, I am facing problem in changing logo in
left menu next to Select Space
Login page
Select Space page
I have read several topics here such as 1, 2, 3 and many others in the last 4 days but without success.
Taking into consideration that for every version in Kibana, the directories and files change, have anyone tried to change the above in Kibana 7.6. ?
Any help would be greatly appreciated.
Also, just a sidenote that Elastic doesn't officially support whitelabeling Kibana. Since it's open source, we won't stop you, but any help with this is purely on a best-effort basis.
Thank you very much for your detailed reply @chbas! One question only, where to save the custom plugin folder in kibana's directory? C:\.......\kibana-7.6.0\built_assets\css\plugins or C:\......\kibana-7.6.0\plugins
Neither!
I was just referring to the place where I've found how to replace the logo.
For my adaptation, just add the css rules inside src/core/server/rendering/views/styles.tsx
Where exactly should add the css rules insidesrc/core/server/rendering/views/styles.tsx?
Below I share a part of the styles.tsx in which there is a line with background-image in base24 format:
Thank you very much @chbas. It works.
But one comment, when I click on my logo (which returns my on Home page), my logo just disappears and when I click anywhere in kibana my logo comes back. Do you know why this is happening?
Dear @chbas I cannot describe how happy I am! I am really new in working with CSS so I want to thank you very much both for your time and for your prompt replies.
It works! you made my day!
I am wondering @chbas if you have any idea regarding the other two issues:
logo from Login page
logo from Select Space page
I tried to change the logo from the Select Space page but I cannot remove the kibana logo, and from my last attempt I have two logos together, one on top of the other
Do you have any idea for these? thank you in advance!!!
Hi @chbas, thank you for the link.
I have managed to change the logo/text when Kibana first loads, browser logo/title and with your valuable advices the side bar logo.
From the link I did not see details about changing logo from Login page and logo from Select Space page.
Have you found a way to do these two changes? Thank you in advance for any help.
For the login logo, I already replied to that.
For the second one, go to : x-pack/legacy/plugins/spaces/public/space_selector/space_selector.tsx
and change 'logoKibana' to the url of your svg logo, as explained here.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.