WordPress.org

Make WordPress Core

Opened 3 weeks ago

Last modified 3 weeks ago

#49320 new defect (bug)

Twenty Twenty: aligncenter>figcaption missing text-align: center; feature

Reported by: markusthiel Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords:
Focuses: css Cc:

Description

When having a centered image.. the caption is not centered

Attachments (1)

49320.patch (896 bytes) - added by garethgillman 9 days ago.
adds center align to figcaption in styles.css and style-rtl.css

Download all attachments as: .zip

Change History (5)

#1 @SergeyBiryukov
3 weeks ago

  • Keywords reporter-feedback added

Hi there, welcome to WordPress Trac! Thanks for the ticket.

Some more details would be helpful here:

  • Could you share the steps to reproduce the issue on a clean install?
  • Which theme are you using? Does it still happen with a default theme (Twenty Twenty)?

#2 @markusthiel
3 weeks ago

Sorry.. I thought this was the trac for "Twenty Twenty"..
To reproduce, add a image block to a page using the default editor, select it to be aligned center, add caption text below the image

#3 @SergeyBiryukov
3 weeks ago

  • Component changed from Themes to Bundled Theme
  • Summary changed from aligncenter>figcaption missing text-align: center; feature to Twenty Twenty: aligncenter>figcaption missing text-align: center; feature

Ah, it makes more sense now :) Thanks for the follow-up!

#4 @SergeyBiryukov
3 weeks ago

  • Keywords reporter-feedback removed

@garethgillman
9 days ago

adds center align to figcaption in styles.css and style-rtl.css

Note: See TracTickets for help on using tickets.