[wp-trac] [WordPress Trac] #56803: Twenty Twenty-Two: Image over Cover Block is not aligning center

WordPress Trac noreply at wordpress.org
Tue Oct 11 19:12:31 UTC 2022


#56803: Twenty Twenty-Two: Image over Cover Block is not aligning center
---------------------------+-----------------------------
 Reporter:  RMarks         |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Bundled Theme  |    Version:
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 I am having trouble getting an image which is layered on top of a cover
 block to be aligned center (horizontally) when the cover content is set to
 Center Center.

 Here are the steps I followed:
 * Start with a fresh install of WordPress 6.0.2
 * Upload a cover image [https://dev-rcm-wp-20221006.pantheonsite.io/wp-
 content/uploads/2022/10/home-hero.jpg background]
 * Upload an [https://dev-rcm-wp-20221006.pantheonsite.io/wp-
 content/uploads/2022/10/wp-logo-white.png image] to overlay the cover
 block.
 * Create a new page, add a Cover block, and choose the background image
 that was previously uploaded.
 * On the Cover Block, change the width to full width.
 * Add an image overlaying the Cover Block using the second image that was
 previously uploaded.
 * On the Image in the Cover Block, align center.
 * Publish page.

 The image is aligned left within the cover block.

 I tried using the cover block’s change content position option. The option
 Top Center correctly causes the image to be centered. You can review that
 version of the page here:
 https://dev-rcm-wp-20221006.pantheonsite.io/cover-test-top-center/

 Another interesting observation: I can set the image to align right
 successfully.

 I cannot reproduce this on the Twenty Twenty-one theme.

 Previously reported here: https://wordpress.org/support/topic/twenty-
 twenty-two-image-over-cover-block-is-not-aligning-center/

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56803>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list