How to add logocompact to navbar

Re: How to add logocompact to navbar

par Dominique Palumbo,
Nombre de réponses : 3
Avatar Particularly helpful Moodlers Avatar 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.
En réponse à Dominique Palumbo

Re: How to add logocompact to navbar

par 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
En réponse à Javier Cuadrado

Re: How to add logocompact to navbar

par Michael Milette,
Avatar Core developers Avatar Documentation writers Avatar Particularly helpful Moodlers Avatar Plugin developers Avatar Testers Avatar 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