editing opacusercss file to display logo
hi, I am trying to replace the koha logo with an image i copied to the koha images folder, when i type the link in "opacsmallimage", the search bar remains blank and displays no image, same thing if i write css code on "opacusercss". link used in opacsmallimage - "../../images/new-logo.gif" css code used in opacusercss - h1#libraryname { width:220px; } h1#libraryname a { background:transparent url(../../images/new-logo.gif) no-repeat scroll 0 50%; padding:80px 0 0; width:220px; } #fluid { margin-left: 224px; } or maybe i am using the wrong url? Thanks
Arnold schreef op wo 13-11-2013 om 10:05 [+0000]:
link used in opacsmallimage - "../../images/new-logo.gif"
Try it with a non-relative link, i.e. one that starts with '/' and gives the full path. Also use something like firebug to see if you're getting any 404's from that image when the page loads. -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5FA7 4B49 1E4D CAA4 4C38 8505 77F5 B724 F871 3BDF
Robin Sheat <robin@...> writes:
Arnold schreef op wo 13-11-2013 om 10:05 [+0000]:
link used in opacsmallimage - "../../images/new-logo.gif"
Try it with a non-relative link, i.e. one that starts with '/' and gives the full path. Also use something like firebug to see if you're getting any 404's from that image when the page loads.
Hi thanks for the help, Unfortunately I am running koha 3.12 on ubuntu (I am basically new to linux) so having trouble getting the full path especially since i am not sure where opacusercss file is stored after custom settings have been saved
Unfortunately I am running koha 3.12 on ubuntu
Unfortunately? No, that's good news :)
so having trouble getting the full path especially since i am not sure where opacusercss file is stored after custom settings have been saved
OpacUserCSS isn't stored anywhere, it's embedded in the page itself. You can view the source of any page in the OPAC to see the CSS you added to OpacUserCSS. Where are you storing the image? If you're putting your image in the same place as the OPAC's other images the path will be like this: /opac-tmpl/prog/images/sprite.png ...assuming you're using the prog template. -- Owen -- Web Developer Athens County Public Libraries http://www.myacpl.org
participants (3)
-
Arnold -
Owen Leonard -
Robin Sheat