Title: Block alignment issue
Last modified: February 26, 2021

---

# Block alignment issue

 *  [yorkslad12](https://wordpress.org/support/users/yorkslad12/)
 * (@yorkslad12)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/block-alignment-issue/)
 * Hello!
 * Thanks for this plugin, which I’ve just started using after a test with others
   to find one that suited me.
 * I’ve a problem though, in that changing the block alignment to center, right,
   alignwide or alignfull makes no difference to the presentation. At first I thought
   it was my theme, so I tried it on a test site using twenty-twenty-one. The block
   always stays aligned to the left-hand column.
 * I know that alignwide (and alignfull) is just a style that gets inserted into
   the code, so I added it manually under the Advanced tab for the block properties–
   and the block correctly aligned wide. To me then it looks as if the style code
   isn’t being added when the block alignment is changed.
 * Is this an issue you (or anyone else) can replicate, and if so what’s the fix(
   apart from manually adding the style every time)?

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

 *  Plugin Author [Andy Fragen](https://wordpress.org/support/users/afragen/)
 * (@afragen)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/block-alignment-issue/#post-14108861)
 * Unfortunately I can seems to save the block alignment data or I simply don’t 
   know how to retrieve it and use it correctly. I’ve spent a few hours today and
   I always end up with conflicts upon saving.
 * I would welcome a PR that fixes this. Until that time, while it looks like block
   alignment is set it’s not saved. Sorry.
 *  Plugin Author [Andy Fragen](https://wordpress.org/support/users/afragen/)
 * (@afragen)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/block-alignment-issue/#post-14110739)
 * I might actually have a working solution. I’m testing. It may mean that editing
   a current block requires the user to “resolve” the block, but it should be fine
   after that.
 * These fixes are in the `develop` branch. If you could test to see if this works
   that would be great. We can work out any issues you might discover in the GitHub
   Issues.
 * [https://github.com/afragen/embed-pdf-viewer/archive/develop.zip](https://github.com/afragen/embed-pdf-viewer/archive/develop.zip)
 *  Thread Starter [yorkslad12](https://wordpress.org/support/users/yorkslad12/)
 * (@yorkslad12)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/block-alignment-issue/#post-14119591)
 * Thanks Andy. When I get a moment (and work out what I’m doing!) I’ll give it 
   a go and report back.
 *  Plugin Author [Andy Fragen](https://wordpress.org/support/users/afragen/)
 * (@afragen)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/block-alignment-issue/#post-14119606)
 * You might need to remove the current block and create a new one for the changes
   to show. Also, beware of browser caching.

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

The topic ‘Block alignment issue’ is closed to new replies.

 * ![](https://ps.w.org/embed-pdf-viewer/assets/icon.svg?rev=2883712)
 * [Embed PDF Viewer](https://wordpress.org/plugins/embed-pdf-viewer/)
 * [Support Threads](https://wordpress.org/support/plugin/embed-pdf-viewer/)
 * [Active Topics](https://wordpress.org/support/plugin/embed-pdf-viewer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/embed-pdf-viewer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/embed-pdf-viewer/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Andy Fragen](https://wordpress.org/support/users/afragen/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/block-alignment-issue/#post-14119606)
 * Status: not resolved