Title: Cover block does not work correctly
Last modified: January 28, 2021

---

# Cover block does not work correctly

 *  [jhos92](https://wordpress.org/support/users/jhos92/)
 * (@jhos92)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/cover-block/)
 * Cover block does not work correctly, when adding a background image in the editor
   it looks correctly with the text on top, however in the preview and on the page
   the text does not overlap and the image appears to one side. Attached image of
   the display error
    -  This topic was modified 5 years, 4 months ago by [jhos92](https://wordpress.org/support/users/jhos92/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcover-block%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [jirosworld](https://wordpress.org/support/users/jolarti/)
 * (@jolarti)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/cover-block/#post-14233894)
 * I have encountered the same problem.
    The content of the Cover Block appears 
   on right side of the background image. This often pushes the background image
   outside of the Div. It doesn’t help to ‘center’ everything, nor does it change
   if I turn off caching etc.
 * Also: the options to add a Title, and/or an extra paragraph + a button sometimes
   appear, and sometimes they don’t.
    When adding a button, it jumps outside of 
   the entire block, with no possibility to drag it inside the cover block at all.
 *  [folkworld](https://wordpress.org/support/users/folkworld/)
 * (@folkworld)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/cover-block/#post-14376327)
 * I got the same display error
 *  [folkworld](https://wordpress.org/support/users/folkworld/)
 * (@folkworld)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/cover-block/#post-14376365)
 * Workaround: enable “Fixed background”
 *  [joeroundtree](https://wordpress.org/support/users/joeroundtree/)
 * (@joeroundtree)
 * [5 years ago](https://wordpress.org/support/topic/cover-block/#post-14487108)
 * I am also experiencing this issue. I’m seeing in the console:
 *     ```
       New content generated by 'save' function:
   
       <div class="wp-block-cover alignfull has-background-dim-30 has-ruf-11-background-color has-background-dim is-style-default has-height-lg has-width-md"><img class="wp-block-cover__image-background wp-image-847" alt="" src="http://localhost:10003/wp-content/uploads/2020/07/picture.jpg" data-object-fit="cover"/><div class="wp-block-cover__inner-container"></div></div>
   
       Content retrieved from post body:
   
       <div class="wp-block-cover alignfull has-background-dim-30 has-ruf-11-background-color has-background-dim is-style-default has-height-lg has-width-md" style="background-image:url(http://localhost:10003/wp-content/uploads/2020/07/picture.jpg)"><div class="wp-block-cover__inner-container"></div></div>
       ```
   
 * This happens even when I’m creating a new block, which I don’t understand. Has
   Gutenberg cached an old version of the block?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Cover block does not work correctly’ is closed to new replies.

 * ![](https://ps.w.org/gutenberg/assets/icon-256x256.jpg?rev=1776042)
 * [Gutenberg](https://wordpress.org/plugins/gutenberg/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gutenberg/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gutenberg/)
 * [Active Topics](https://wordpress.org/support/plugin/gutenberg/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gutenberg/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gutenberg/reviews/)

## Tags

 * [black background](https://wordpress.org/support/topic-tag/black-background/)
 * [cover block](https://wordpress.org/support/topic-tag/cover-block/)

 * 4 replies
 * 4 participants
 * Last reply from: [joeroundtree](https://wordpress.org/support/users/joeroundtree/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/cover-block/#post-14487108)
 * Status: not resolved