http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12162

--- Comment #1 from Marc VĂ©ron <[email protected]> ---
Created attachment 27784
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=27784&action=edit
[Proof of concept] 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.CPL {
background-color: yellow;
border: 10px solid pink;
}

/*Green background and red border for branch with code FFL*/
body.FFL {
background-color: green;
border: 10px solid red;
}

Go to Opac. Switch between branches CPL and FFL, see how background color
changes...

-- 
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/

Reply via email to