Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#40912 new defect (bug)

An image without a caption is not centered

Reported by: aeric325 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.7.5
Component: General Keywords: close reporter-feedback
Focuses: Cc:


First observed the problem in 4.7.4, and now in 4.7.5.

An image with a caption is centered properly in the page, when that option is chosen.

An image without a caption is centered in the editor, but is not centered in the post.

The workaround is to place the image in a paragraph, and center that.

Note: The proper category for this report may be "Formatting". I'm just not sure what you mean when you use that term. (A glossary of categories would help!)

Change History (3)

#1 @joyously
3 years ago

What theme are you testing with, and does it have an editor-style file, or are you actually referring to the front end display of it?

#2 @azaozz
3 years ago

  • Keywords close added

Most likely caused by your theme. Try switching to one of the default themes (TwentySeventeen, TwentySixteen, etc.) and check again.

If still the same, could you copy the HTML around the image from the Text editor tab, and from the front-end, and paste the two snippets here (if different).

#3 @dd32
3 years ago

  • Keywords reporter-feedback added
Note: See TracTickets for help on using tickets.