[wp-trac] [WordPress Trac] #54076: Twenty Twenty: image not centered

WordPress Trac noreply at wordpress.org
Sun Sep 5 15:18:41 UTC 2021


#54076: Twenty Twenty: image not centered
--------------------------+------------------------------
 Reporter:  damienaa      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Themes        |     Version:  5.8
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  css, template
--------------------------+------------------------------

Comment (by costdev):

 This does seem to be an issue with the bundled TwentyTwenty theme.

 Linked to this:

 {{{
 wp-content/themes/twentytwenty/style.css:3589
 wp-content/themes/twentytwenty/style-rtl.css:3567

 .entry-content >
 *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not
 (.is-style-wide) {
     max-width: 58rem;
     width: calc(100% - 4rem);
 }
 }}}

 Adding `margin-left: auto;` and `margin-right: auto;` to this block
 appears to resolve this issue.

 A good first bug perhaps?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54076#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list