This section shows you how to use subthemes in the Goobi viewer.
Goobi workflow
A new metadata ViewerSubTheme must be added to the ruleset. This is then also added to DocStructs that have the CatalogIDDigital metadata configured as a mandatory metadata.
The metadata viewerSubTheme is written to a separate field within the Solr Index. The following field definition must be added to the configuration file:
Each sub-theme has its own CSS file that contains its own CSS definitions for that sub-theme. The order in which they are included in the template.html file can be used to overwrite any value of the global viewer.css file or the theme specific custom.min.css file with subtheme-specific values in this subtheme-specific file.