[Koha] How to change de OPAC LOGO

Michael Kuhn mik at adminkuhn.ch
Wed Apr 26 03:25:01 NZST 2017


Hi Luis

> I am using KOHA 16.11.06.000
> Where could i change the OPAC LOGO.
> We want to use our LOGO

Easiest way is probably to save and replace the file 
"/usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/images/koha-logo-navbar.png" 
with your own logo file. To avoid problems use the same file name and 
the same picture size (67 x 20) - like this everything will work as 
usual, also in the mobile view.

In fact there are many different ways to do this.

If you need to use a logo of another size, to change surrounding colors 
etc. etc. you will probably have to learn some HTML / CSS / Javascript.

For example you could insert the following code into Koha system 
preference "OPACUserCSS" but I wouldn't really recommend it. However, 
not only the normal view looks good but also the mobile view which 
behaves different.

#logo {
   background-image: url("http://yourdomain.xx/yourlogo.png");
   background-size: 27px 31px;
   border: 2px solid #111111;
   width: 40%;
}

Hope this helps.

Best wishes: Michael
-- 
Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis
Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
T 0041 (0)61 261 55 61 · E mik at adminkuhn.ch · W www.adminkuhn.ch


More information about the Koha mailing list