How to add logocompact to navbar

Re: How to add logocompact to navbar

by Dominique Palumbo -
Number of replies: 3
Picture of Particularly helpful Moodlers Picture of Plugin developers
Hi,

I think that you've to upload the logo by the UI in the administration.

Administration>Presentation>Logos>Logo compact

Have a nice day.

Dominique.
In reply to Dominique Palumbo

Re: How to add logocompact to navbar

by Javier Cuadrado -
Hello Dominique,

Thanks a lot for your answer.

I had heard about this method but I was wondering if there was a way to integrate it directly into the code.
But yes, if not I will do it following your recommendation !

Thank you very much for your help!

Best regards,
Javier
In reply to Javier Cuadrado

Re: How to add logocompact to navbar

by Michael Milette -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators
Hi Javier,

Boost implements the logo and also displays the site name. If you just want the logo, take a look at the Trema theme. They did a nice implementation by applying the site shortname as alternative text to the image.

If you need a logo that changes depending on the UI language, this can be achieved by uploading a blank image as a logo and then using CSS to display different logos for different languages as a background image.

Hope you find this helpful.

Best regards,

Michael
In reply to Michael Milette

Re: How to add logocompact to navbar

by Javier Cuadrado -
Thanks for your advices, Michael ! Very helpful !!

Best regards,
Javier