Opened 16 months ago
Closed 3 months ago
#58609 closed defect (bug) (fixed)
Twenty Sixteen: Button block Letter Spacing control is not working
Reported by: | darshitrajyaguru97 | Owned by: | karmatosed |
---|---|---|---|
Milestone: | 6.7 | Priority: | normal |
Severity: | normal | Version: | 6.2.2 |
Component: | Bundled Theme | Keywords: | has-patch has-screenshots commit |
Focuses: | ui, css | Cc: |
Description
In Twenty Twenty Theme & Twenty Sixteen Theme when we add button & try to add letter spacing in frontend & Backend.
Steps to Reproduce the Issue :
=========================
- Activate Twenty Twenty Theme / Twenty Sixteen Theme.
- Add Button in Any Page
- Add Letter Spacing in Button Block
Video Link: https://drive.google.com/file/d/1s1i9BS23Oh9DQtmN-pRxTd22_gZVlQhV/view
Attachments (5)
Change History (14)
#2
@
16 months ago
- Keywords has-screenshots has-testing-info added
Test Report for https://core.trac.wordpress.org/attachment/ticket/58609/58609.diff Patch.
Theme - Twenty Twenty
Backend:
========
Before Patch Backend: https://prnt.sc/0Q98pqBYxntx
After Patch Backend : https://prnt.sc/O-n1iTifU0PG
Frontend:
=========
Before Patch Frontend: https://prnt.sc/_Y5YggkuZEKQ
After Patch Frontend : https://prnt.sc/YDAgSgw5MSs9
Theme - Twenty Sixteen
Backend:
========
Before Patch Backend: https://prnt.sc/nu313buV0SMi
After Patch Backend : https://prnt.sc/fZi3Gqu82D0G
Frontend:
=========
Before Patch Frontend: https://prnt.sc/-wejCR6FjTzU
After Patch Frontend : https://prnt.sc/e0CicBsdb5E6
https://core.trac.wordpress.org/attachment/ticket/58609/58609.diff Patch is Working fine
Thanks.
@
16 months ago
edits to Twenty Sixteen only, grouping the letter-spacing
and text-transform
overrides
@
16 months ago
moving font-weight
, letter-spacing
, line-height
and text-transform
to .wp-block-buttons
#3
@
16 months ago
- Summary changed from Button Letter Spacing is Not Working in Twenty Twenty & Twenty Sixteen Theme to Twenty Sixteen: Button block Letter Spacing control is not working
Twenty Twenty already had a report on #58024, so this ticket (and patch) can address custom letter-spacing
in Twenty Sixteen.
Even with the overrides in 58609.diff/58609.1.diff and [55999], a font-weight
option from the Appearance control or a custom line-height
would have no effect. In the alternative patch, I tried moving some CSS properties to the Buttons block instead of on the links (similar to @nidhidhandhukiya's 58024.1.patch).
#4
@
16 months ago
Test Report for https://core.trac.wordpress.org/attachment/ticket/58609/58609.alternative.diff
Environment:
PHP: 8.1.9
WordPress: 6.2.2
Browser: Firefox
Theme: Twenty Sixteen
Plugin: none
Screenshots:
==========
Before Patch Screenshots:
- Backend : https://prnt.sc/JIwsP6cBMEbz
- Frontend: https://prnt.sc/mTHLAQUH7NL6
After Patch Screenshots:
- Backend : https://prnt.sc/qjez2QyiVwnc
- Frontend: https://prnt.sc/q8j68bChVMR3
After Patch Result:
================
- Font-weight, Letter-spacing, Line-height and Text-transform get applied to the button block from frontend as well as backend
- https://core.trac.wordpress.org/attachment/ticket/58609/58609.alternative.diff Patch is Working fine as expected.
#5
@
15 months ago
Test Report
Patch tested: https://core.trac.wordpress.org/attachment/ticket/58609/58609.alternative.diff
Environment
- OS: macOS 12.4
- Web Server: Nginx
- PHP: 7.4.33
- WordPress: 6.3-alpha-55505-src
- Browser: Chrome
- Theme: Twenty-sixteen
Steps
- Activate Twenty Sixteen Theme.
- Add a Button on Any Page
- Add Letter Spacing in the Button Block
ScreenCast
Before
- Backend: https://prnt.sc/pInae-GL3S_5
- Frontend: https://prnt.sc/PjfmnA5N-3yU
After
- Backend: https://prnt.sc/h9GMf5CCYiUy
- Frontend: https://prnt.sc/jIux5_LO6lXR
Actual Results
- Font weight, Letter-spacing, Line-height, and Text-transform changes are visible on the frontend.
- The patch is working as expected✅
@
3 months ago
refreshed patch that moves font-weight
, letter-spacing
, line-height
and text-transform
to .wp-block-buttons
#6
@
3 months ago
- Milestone changed from Awaiting Review to Future Release
[57300] already fixed the Separator typo.
The refreshed patch also adds box-shadow: none
to the editor-blocks
stylesheet for consistency.
#7
@
3 months ago
- Keywords commit added
- Milestone changed from Future Release to 6.7
Assigning to myself for testing to see if can get this into commit.
Patch Added