Difference between revisions of "Koha:Customization"

From TSAS Library
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
* OPAC and staff interface are at <code>/htdocs</code>, so the URL in the "favicon" Administration Preferences in Koha should be <code><nowiki>http://sitename.com/image.png</nowiki></code>
* OPAC and staff interface are at <code>/htdocs</code>, so the URL in the "favicon" Administration Preferences in Koha should be <code><nowiki>http://sitename.com/image.png</nowiki></code>


==Staff Client Login==
==Staff Client CSS==
* Under "IntranetUserCSS" in Administration Preferences in Koha, add the following:
* Under "IntranetUserCSS" in Administration Preferences in Koha, add the following:
<code><nowiki>#login h1 a {
<pre><nowiki>#login h1 a {
height:71px;
height:80px;
}
}
#login h1 {
#login h1 {
background:url("http://www.domain.com/link/to/logo.png") no-repeat scroll center top transparent;
background: url(http://ec2-52-32-166-168.us-west-2.compute.amazonaws.com/librarylogo.svg) no-repeat scroll center top transparent;
}</nowiki></code><ref>https://www.myacpl.org/koha/customizing-the-staff-client-login-logo/</ref>
    background-size: 325px 80px;
}
 
#doc3 {
background-image:url('');
}
 
h1#logo {
    background: transparent url(http://ec2-52-32-166-168.us-west-2.compute.amazonaws.com/librarylogo.svg) no-repeat scroll 0%;
    padding: 20px 0 0 10px;
    background-size: 200px 56px;
    margin: 0.75em .3em 0.75em .2em;
}</nowiki></pre><ref>https://www.myacpl.org/koha/customizing-the-staff-client-login-logo/</ref>


==References==
==References==
<references />
<references />
[[Category:Koha]]
[[Category:Koha]]

Latest revision as of 13:28, 28 August 2016

Favicon

  • Create 16x16 or 32x32 .png, upload[1] to /usr/share/koha/opac/htdocs.
  • OPAC and staff interface are at /htdocs, so the URL in the "favicon" Administration Preferences in Koha should be http://sitename.com/image.png

Staff Client CSS

  • Under "IntranetUserCSS" in Administration Preferences in Koha, add the following:
#login h1 a {
height:80px;
}
 
#login h1 {
background: url(http://ec2-52-32-166-168.us-west-2.compute.amazonaws.com/librarylogo.svg) no-repeat scroll center top transparent;
    background-size: 325px 80px;
}

#doc3 {
background-image:url('');
}

h1#logo {
    background: transparent url(http://ec2-52-32-166-168.us-west-2.compute.amazonaws.com/librarylogo.svg) no-repeat scroll 0%;
    padding: 20px 0 0 10px;
    background-size: 200px 56px;
    margin: 0.75em .3em 0.75em .2em;
}

[2]

References

  1. May need to upload to directory with permissions, then sudo mv file.png /usr/share/koha/opac/htdocs. Change permissions with sudo chown root image.png
  2. https://www.myacpl.org/koha/customizing-the-staff-client-login-logo/