Title: area shift
Last modified: April 26, 2019

---

# area shift

 *  Resolved [jlagpub](https://wordpress.org/support/users/jlagpub/)
 * (@jlagpub)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/area-shift/)
 * i create a map with some area, and the mapped areas are shifted compared to the
   image from 5 to 10px when i publish.
 * I have to compensate by shifting in the plugin to match the areas
 * how to resolve this?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Farea-shift%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Natalie MacLees](https://wordpress.org/support/users/nataliemac/)
 * (@nataliemac)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/area-shift/#post-11470692)
 * Hello [@jlagpub](https://wordpress.org/support/users/jlagpub/),
 * It looks like your theme is adding some margin to images that we didn’t expect,
   and I think that’s likely what’s causing the shift. I think you should be able
   to add some custom CSS to the site to stop it from happening.
 * Please try this CSS:
 *     ```
       .page article.page .entry-content .hotspots-interaction img.leaflet-image-layer, 
       .page article.post .entry-content .hotspots-interaction img.leaflet-image-layer, 
       .single article.page .entry-content .hotspots-interaction img.leaflet-image-layer, 
       .single article.post .entry-content .hotspots-interaction img.leaflet-image-layer {
       	margin: 0;
       }
       ```
   
 * We have an article on adding custom CSS here: [https://wpdrawattention.com/document/customizing-draw-attention-css/](https://wpdrawattention.com/document/customizing-draw-attention-css/)
 * Please let us know if that corrects the issue for you
 *  Thread Starter [jlagpub](https://wordpress.org/support/users/jlagpub/)
 * (@jlagpub)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/area-shift/#post-11478258)
 * Great it works,
 * thanks for this quickly support
 *  Plugin Author [Natalie MacLees](https://wordpress.org/support/users/nataliemac/)
 * (@nataliemac)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/area-shift/#post-11479371)
 * Great, I’m glad that worked. Just let us know if you need anything else.

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

The topic ‘area shift’ is closed to new replies.

 * ![](https://ps.w.org/draw-attention/assets/icon-256x256.png?rev=2888664)
 * [Interactive Image Map Plugin - Draw Attention](https://wordpress.org/plugins/draw-attention/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/draw-attention/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/draw-attention/)
 * [Active Topics](https://wordpress.org/support/plugin/draw-attention/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/draw-attention/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/draw-attention/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Natalie MacLees](https://wordpress.org/support/users/nataliemac/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/area-shift/#post-11479371)
 * Status: resolved