Setting button utility classes via the Card component

Created on 1 March 2024, 10 months ago
Updated 17 March 2024, 9 months ago

Problem/Motivation

Currently in my development site, the Card links are rendered as buttons without color. Using browser dev-tools I can see adding the Bootstrap class 'btn-primary' is the only change I need to make to color the button correctly. The question is how to make the change permanent in code?

Steps to reproduce

The documentation shows how to set card_link_classes in a Drupal theme's template file.

This line of code should be the connection between card_link_classes in the Card component and button_utility_classes of the Button component. Even though I set the card_link_classes accordingly, the classes are not rendering in the button component as desired. Perhaps further development is required? Or what am I doing wrong?

πŸ› Bug report
Status

Fixed

Version

6.0

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States amstercad

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024