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

Button block font-weight setting not working on twenty twenty-one theme. #53338

Closed
VipulUpadala opened this issue Aug 4, 2023 · 2 comments
Closed
Labels
[Block] Buttons Affects the Buttons Block [Type] WP Core Ticket Requires an upstream change from WordPress. Core Trac ticket should be linked.

Comments

@VipulUpadala
Copy link

Description

I have tested button block with deterrent deferent WordPress themes and found the button block font-weight setting not working in twenty twenty-one theme. And, I think this a theme css overriding issues. Please check the below attachment video recording for a better understanding off issue.

Step-by-step reproduction instructions

  1. First activated twenty twenty-one theme.
  2. Next, create a new page and take the button block.
  3. Apply font weight setting and check it( not working ).

Screenshots, screen recording, code snippet

Video URL: https://share.cleanshot.com/b196mZcF0Z1l4DdBJZsx

Environment info

  • WordPress version: 6.2.2 running, Gutenberg version: 16.3.0, and Active theme: Twenty Twenty-One
  • Browsers: Chrome
  • Device: MacBook( Desktop )

Please confirm that you have searched existing issues in the repo.

No

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@hanneslsm
Copy link

hanneslsm commented Aug 4, 2023

The issue for font-weights is not specific to TT1.
All font-weights get displayed and are selectable, no matter if they are enqueued by the theme. This also happens for all themes build with the "Create Block Theme" Plugin. #52201

@jordesign jordesign added [Type] Bug An existing feature does not function as intended Needs Testing Needs further testing to be confirmed. [Block] Buttons Affects the Buttons Block labels Aug 7, 2023
@t-hamano
Copy link
Contributor

t-hamano commented Aug 7, 2023

Thanks for the report.

I have submitted a ticket because I believe this is an issue that should be resolved on the bundle theme side. I have also described the cause as to why font-weight is not applied.

https://core.trac.wordpress.org/ticket/58991

I would like to close this issue, but if I have missed something, please feel free to comment.

@t-hamano t-hamano closed this as not planned Won't fix, can't repro, duplicate, stale Aug 7, 2023
@t-hamano t-hamano added [Type] WP Core Ticket Requires an upstream change from WordPress. Core Trac ticket should be linked. and removed [Type] Bug An existing feature does not function as intended Needs Testing Needs further testing to be confirmed. labels Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Buttons Affects the Buttons Block [Type] WP Core Ticket Requires an upstream change from WordPress. Core Trac ticket should be linked.
Projects
None yet
Development

No branches or pull requests

4 participants