Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The issue we are having is there are two navigation options: 5 links or 6
We are wanting to do some sort of if/then statement that would set a class on the links inside the list views creates depending on if there are 5 or 6 links.
The view is generating a HTML unordered list.
if 5 links = classA (5-column)
if 6 links = classB (6-column)
Is this at all possible? Any information would be helpful.
Comments
Comment #1
MustangGB CreditAttribution: MustangGB commented