Stylesheet Customization - AppGeo/GPV GitHub Wiki

In the /styles folder of the GPV code on the web server, there are several cascading style sheets (CSS) files. These files are used to manage the look and feel of the GPV itself. With one exception, these files should not be modified because those modifications will be overwritten the next time the GPV code is updated.

The exception is the Customize.css file. This file specifies the colors and fonts of the various GPV elements and defines the sizes of the header and footer sections. There is a section at the bottom of the Customize.css file that allows you to add your own styling, but this will still need to be rewritten with each GPV update.

An alternative method is to make a copy of Customize.css and give it a new name such as MontrosePA.css. You can then change any of the parameters in your new organization specific CSS file. Since this new file is not part of the GPV code set, it will not be overwritten during version updates.

New at 5.0 The CustomStyleSheet entry in the GPVSetting configuration table contains a URL pointing to the modified Customize.CSS file. In the example above, GPVSetting.value where GPVSetting.Setting = 'CustomStyleSheet' would look like this:

Styles/MontrosePA.css

Changes made to this CSS file will override the default values in the customize.css.