Hi I'm trying to branding the opac interface... for example i want change the color the word "Search" or change the color of the "Advanced Search" I'm understood that the file is "/usr/share/koha/opac/htdocs/opac-tmpl/prog/en/css/opac.css" can you help me? Thank Daniel -- View this message in context: http://koha.1045719.n5.nabble.com/Customizing-OPAC-tp4366995p4366995.html Sent from the Koha - Discuss mailing list archive at Nabble.com.
Hi Daniel, Your probably best off having a quick read up on css (there's some good tutorials at http://www.w3schools.com/css/default.asp for example) Additionally, I personally wouldn't touch the styling from the back end (i.e i wouldn't modify opac.css). Although it can be done that way, when you come to an upgrade you'll have to re-apply those changes as this is a "system" file. Rather, I'd add a few specific CSS rules to the OPACUserCSS box under Home › Administration › System Preferences It's located within the OPAC tab. A quick and dirty guide would be: 1. Use an element inspector (I like the default one inside the chrome browser) to work out what the ID/Class of the element you want to change. 2. Create a new rule for said element within OPACUserCSS 3. Refresh the OPAC and see what you think. 4. Iterate until happy. Example; To change the colour of "Search" you need a rule like: #opac-main-search label { color: CC3366 ; } This would make the "Search" text a gastly pink color (Color codes are available http://www.w3schools.com/html/html_colors.asp) Martin -- Martin Renvoize Software Developer, PTFS Europe Ltd Content Management and Library Solutions martin.renvoize@ptfs-europe.com skype: Martin Renvoize http://www.ptfs-europe.com
Hi Martin You right the element inspector in Chrome is very good! :) Now I have one other question... I need to modify the HTML code in the Advanced Search and Browser By author or sobject pages, but I didn't find the page... I now the html page for the index is the file masthead.inc but for the other no idea... thanks Daniel -- View this message in context: http://koha.1045719.n5.nabble.com/Customizing-OPAC-tp4366995p4369453.html Sent from the Koha - Discuss mailing list archive at Nabble.com.
Now I have one other question... I need to modify the HTML code in the Advanced Search and Browser By author or sobject pages, but I didn't find the page...
If you do this you will have difficulty upgrading Koha. Your changes will be overwritten at upgrade time and you will have to duplicate them. One way to mitigate this problem is to do your work in a branch of a git repository. If you decide to proceed with editing Koha templates then I HIGHLY recommend you do it within git. If you still really really want to edit templates, then look in opac-tmpl/prog/en (or your language) /modules The advanced search page is opac-advsearch.tmpl (opac-advsearch.tt if you're on 3.4). Another option you should consider is to use custom JavaScript to modify your pages. This option works well for simple changes and eliminates the upgrade problem. The drawback is that it only affects users who have JavaScript enabled. -- Owen -- Web Developer Athens County Public Libraries http://www.myacpl.org
Thanks a lot I solved with css :) -- View this message in context: http://koha.1045719.n5.nabble.com/Customizing-OPAC-tp4366995p4369830.html Sent from the Koha - Discuss mailing list archive at Nabble.com.
Hi, I want to learn to modify the koha OPAC (colors, logo, images and links). I don't have experience in this theme. Can you tell me how i can do it? Thanks for your helps. Best Regards!!! -- View this message in context: http://koha.1045719.n5.nabble.com/Customizing-OPAC-tp4366995p5757849.html Sent from the Koha-general mailing list archive at Nabble.com.
Ithink this link will help youhttp://www.koha.org/library/resources/Documentation/OPAC-Customization.pdf
Date: Mon, 10 Jun 2013 20:53:33 -0700 From: fabian.baena@gmail.com To: koha@lists.katipo.co.nz Subject: Re: [Koha] Customizing OPAC
Hi, I want to learn to modify the koha OPAC (colors, logo, images and links). I don't have experience in this theme. Can you tell me how i can do it?
Thanks for your helps.
Best Regards!!!
-- View this message in context: http://koha.1045719.n5.nabble.com/Customizing-OPAC-tp4366995p5757849.html Sent from the Koha-general mailing list archive at Nabble.com. _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Mohamed zalabany schreef op di 11-06-2013 om 21:37 [+0000]:
Ithink this link will help youhttp://www.koha.org/library/resources/Documentation/OPAC-Customization.pdf
This is probably a better resource to get started, as it talks about Koha: http://www.myacpl.org/koha/ -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D
participants (6)
-
fbaena -
Martin Renvoize -
Mohamed zalabany -
Owen Leonard -
Robin Sheat -
schwitzd