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

Add a class "wp-block-list" to the List Block #49503

Closed
Snadex opened this issue Mar 31, 2023 · 1 comment
Closed

Add a class "wp-block-list" to the List Block #49503

Snadex opened this issue Mar 31, 2023 · 1 comment
Labels
[Block] List Affects the List Block [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed

Comments

@Snadex
Copy link

Snadex commented Mar 31, 2023

What problem does this address?

It is currently difficult to target the List Block in a theme because it is using a plain <ul><li></li></ul> output without classes.

Adding a class to the <ul> will allow theme developers to easily target and create default styles for the List block, without affecting every other <ul> on the site.

What is your proposed solution?

Adding a wp-block-list class to the parent <ul> element.

@skorasaurus
Copy link
Member

Hi,

Thanks for reporting;
This has been discussed and/or requested in #12420 . Feel free to add your reaction and follow its progress in the issue.

@skorasaurus skorasaurus added [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed [Block] List Affects the List Block labels Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] List Affects the List Block [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed
Projects
None yet
Development

No branches or pull requests

2 participants