[Koha-bugs] [Bug 12162] Add class="branchcode" to body tag to make OPAC CSS-styleable per branch

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 30 09:55:07 CEST 2014


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

--- Comment #10 from Marc Véron <veron at veron.ch> ---
(In reply to Katrin Fischer from comment #8)
> (...) Additionally to the branchcode it would be
> nice to have the currently selected language. That would allow to trigger
> the visibility of text with CSS, while you have to use jQuery to do that
> right now.

We have already a language indicator in the html tag: lang="de-DE"
This makes it possible to youse the :lang selector in your CSS.
Example:
body:lang(de-DE) {background-color: green;}

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list