http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9558
--- Comment #3 from Owen Leonard <[email protected]> --- Created attachment 18218 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=18218&action=edit Bug 9558 - Customize CSS for mobile It is possible to use an environment variable to specify a custom stylesheet for different libraries in a multi-library system: $ENV{'OPAC_CSS_OVERRIDE'}. This patch adds an additional option to override the CCSR theme's mobile stylesheet. To test: - Create a custom stylesheet and add it alongside CCSR's other CSS files. - Add a simple CSS rule which will be obvious in testing. For example: form#searchform { background-color: red; } - Modify the configuration file for your OPAC to add a line specifying a new custom stylesheet: SetEnv OPAC_CSS_OVERRIDE_MOBILE <name of CSS file> - Restart Apache. - Switch the OPAC theme to 'CCSR' - Clear your browser cache - View any page in the OPAC. If you browser is wider than 700 pixels the OPAC should appear normal. Below 700 pixels wide you should see your custom CSS applied (a red background on the search bar if you used the above example. The changes in this patch are courtesy Zachary Spalding as described in Bug 9558. Patch and test plan created by Owen Leonard. -- 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/
