Skip to content

Append event-grid classes along with feature_events ones

Summary

In the current implementation it is not possible to set the CSS classes of Event Grid display format since Drupal does not allow CSS classes with underscores to be set programmatically. For this reason, append the .event-grid class after the feature events ones.

Steps to reproduce

  1. Create view
  2. Append programmatically a css class that includes an underscore
  3. Notice that the underscore is replaced by a hyphen

Possible fixes

In agenda-views.scss, append .event-grid under .cern-view-display-page.cern-view-display-feature_events in order to include the same implementation.

Related issues

Edited by Konstantinos Platis
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information