http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12162
--- Comment #5 from Marc Véron <[email protected]> --- Created attachment 27811 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=27811&action=edit Bug 12162 - Add class="branchcode" to body tag to make OPAC CSS-styleable per branch This patch implements branch specific CSS for Opac Main page and OPAC Search. If the proof of concept works out, other Opac pages can be adapted. To test: Apply patch Edit system preference OPACUserCSS and insert something like /*Background for all branches*/ body { background-color: red; } /*Yellow background and pink border for branch with code CPL*/ body.branch-CPL { background-color: yellow; border: 10px solid pink; } /*Green background and red border for branch with code FFL*/ body.branch-FFL { background-color: green; border: 10px solid red; } Go to Opac. Switch between branches CPL and FFL, see how background color changes... Changes to previous patch: New version using branch-FOO as class name. Prog theme added for this proof of concept. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
