Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] A class attribute for the [uw_card] shortcode #81

Open
dghweb opened this issue Aug 2, 2024 · 0 comments
Open

[FEATURE REQUEST] A class attribute for the [uw_card] shortcode #81

dghweb opened this issue Aug 2, 2024 · 0 comments
Labels
enhancement minimal additional functionality added to an existing feature

Comments

@dghweb
Copy link

dghweb commented Aug 2, 2024

Is your feature request related to a problem? Please describe.

I often get requests to customize the look & feel of the existing card options. It would be helpful to be able to add custom classes to the cards in order to target them through the css.

Describe the solution you'd like

A class attribute for the [uw_card] shortcode.
E.g.: [uw_card style="image-top" color="white" class="my-custom-card-modifier"... would render
<div class="card text-left image-top white my-custom-card-modifier"...

Thanks for taking this into consideration,

Jasper Bleijs
Dept. of Global Health

@dghweb dghweb added the feature request New feature or enhancement label Aug 2, 2024
@lcaple lcaple added enhancement minimal additional functionality added to an existing feature and removed feature request New feature or enhancement labels Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement minimal additional functionality added to an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants