Title: Image alignment
Last modified: October 26, 2017

---

# Image alignment

 *  [dreamkatcha](https://wordpress.org/support/users/dreamkatcha/)
 * (@dreamkatcha)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/image-alignment-39/)
 * Sometimes this plugin takes account of my centred images and aligns them accordingly
   in the resulting PDF, sometimes not, even though the code used is exactly the
   same. What’s the best method of centring images to ensure they are placed correctly
   please? Any idea why this issue arises?

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

 *  Thread Starter [dreamkatcha](https://wordpress.org/support/users/dreamkatcha/)
 * (@dreamkatcha)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/image-alignment-39/#post-9625583)
 * Hmm. Like I said, they _are_ centred in the post but not in the PDF. My centring
   code is being ignored much of the time with no obvious explanation.
 *  Thread Starter [dreamkatcha](https://wordpress.org/support/users/dreamkatcha/)
 * (@dreamkatcha)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/image-alignment-39/#post-9627545)
 * I’ve noticed it just appears to affect the pictures when they’re right up against
   the line in the header. Does that help us diagnose this at all? I’ve tried tweaking
   a few settings there but to no avail.
 *  Thread Starter [dreamkatcha](https://wordpress.org/support/users/dreamkatcha/)
 * (@dreamkatcha)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/image-alignment-39/#post-9629110)
 * I did that last time and it achieved nothing. That’s why I posted here instead.
   The code in my blog posts is fine and if I use Print Friendly to generate a PDF
   all the images are central as they are supposed to be. The problem with that 
   solution is that it spans large images across pages which looks daft.
 * As it only seems to affect images right up against the line in the header it 
   suggests that it has something to do with the way the header is generated doesn’t
   it? That’s all I include in my header I should point out – the line. I’d get 
   rid of that too, but it doesn’t appear that WP Advanced PDF provides this option.

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

The topic ‘Image alignment’ is closed to new replies.

 * ![](https://ps.w.org/wp-advanced-pdf/assets/icon-256x256.png?rev=1384838)
 * [WP Advanced PDF](https://wordpress.org/plugins/wp-advanced-pdf/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-advanced-pdf/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-advanced-pdf/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-advanced-pdf/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-advanced-pdf/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-advanced-pdf/reviews/)

 * 3 replies
 * 0 participants
 * Last reply from: [dreamkatcha](https://wordpress.org/support/users/dreamkatcha/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/image-alignment-39/#post-9629110)
 * Status: not resolved