Custom Classes
Apply a custom class, overriding the default, to any element that is displayed or hidden by Geoflow according to the condition(s) defined.
How Does It Work?
By default, Geoflow will apply one of two classes to an element based on its visibility status.
Shown Elements: gv-shown Hidden Elements: gv-hidden
You can override this default behaviour and set your own custom classes by applying one or both of the data attributes noted below in the table.
How To Implement
Attribute Name
Attribute Value
Which Page Element?
data-gv-class:show
your-custom-class
Any element with the Geo Visibility data attribute.
data-gv-class:hidden
your-custom-class
Any element with the Geo Visibility data attribute.
Any valid string of text, number(s) or special character(s) will be accepted as the value.
Last updated
Was this helpful?