Make WordPress Core

Opened 2 years ago

Closed 10 months ago

#60899 closed defect (bug) (invalid)

CTA Button Alignment Not Working

Reported by: tuhin7's profile tuhin7 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Editor Keywords:
Focuses: ui Cc:

Description (last modified by sabernhardt)

The alignment setting for the CTA button isn't working in the Gutenberg block. I have tried in many ways but couldn't figure out why it's not working. Please have a look on this issue.

Attachments (1)

Screenshot 2024-04-03 at 2.32.36 PM.png (58.1 KB) - added by tuhin7 2 years ago.
CTA Button Alignment Issue

Download all attachments as: .zip

Change History (3)

@tuhin7
2 years ago

CTA Button Alignment Issue

#1 @sabernhardt
2 years ago

  • Component changed from General to Editor
  • Description modified (diff)
  • Focuses accessibility css removed
  • Version 6.5 deleted

Hi and welcome to WordPress Core Trac!

The highlighted button in the screenshot is the "Align text center" option, so it aligns the text within the CTA link. If you want to center the link(s) within the content area, use the "Justify items center" button (two button groups to the left of alignment).

#2 @sabernhardt
10 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

I'm closing this as 'invalid' because it does not seem to be a bug. I think the icon for text alignment can be a little confusing when the toolbar also has a control for aligning (or justifying) the block.

If I am wrong about that, or if you would like to improve the interface, please find or open an issue on the Gutenberg repository.
https://github.com/WordPress/gutenberg/issues/new/choose

Note: See TracTickets for help on using tickets.