[Koha-bugs] [Bug 6795] Branch-specific OPAC preferences
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Apr 29 16:16:25 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6795
Marc Véron <veron at veron.ch> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |veron at veron.ch
--- Comment #2 from Marc Véron <veron at veron.ch> ---
Regarding branch specific CSS in Opac we could do the following:
1)
Add a class="branchcode" to the body tag using the branch code, i.e something
like
<body id="opac-main" class="CPL">
2)
Using this class, we could style branch specific pages e.g. in OPACUserCSS:
/*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 CPL*/
body.FFL {
background-color: green;
border: 10px solid red;
}
...or a lot of other branch specific things like background images etc.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list