Make WordPress Core

Opened 6 months ago

Last modified 6 months ago

#60899 new defect (bug)

CTA Button Alignment Not Working

Reported by: tuhin7's profile tuhin7 Owned by:
Milestone: Awaiting Review 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 6 months ago.
CTA Button Alignment Issue

Download all attachments as: .zip

Change History (2)

@tuhin7
6 months ago

CTA Button Alignment Issue

#1 @sabernhardt
6 months 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).

Note: See TracTickets for help on using tickets.