#49789 closed enhancement (invalid)
can't center align a single button in new Buttons block
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.4 |
Component: | Editor | Keywords: | |
Focuses: | css | Cc: |
Description
If you have only one button, would be nice to be able to center align it, especially in a Cover block where all of the text is center aligned by default.
Attachments (2)
Change History (7)
#2
@
3 years ago
- Focuses css added
- Keywords needs-design removed
Hi @BlogAid !
It is possible to center the Buttons block ("Buttons" not the individual "Button"), so the functionality is there.
Note: You may need to click the "Buttons" breadcrumb link at the bottom to select the Buttons block.
In WordPress 5.5.1, I see the button centered in the editor as well as the front end in the Twenty Nineteen and Twenty Twenty themes. (In 5.4, the editor didn't show the link centered in those two themes, but it was working on the front end.)
If the link(s) do not display centered in the editor with your theme and it's one of the "Twenty"-something bundled themes, please let us know. If they do not display correctly another theme, you could open a support topic for that theme.
#3
@
3 years ago
Thank you for the reply. Yes, finally figured out that you have to go to the buttons wrapper block to align it instead of the button itself
centering the Buttons block in WordPress 5.5.1 (Twenty Twenty)