• Resolved jlagpub

    (@jlagpub)


    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 to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Natalie MacLees

    (@nataliemac)

    Hello @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/

    Please let us know if that corrects the issue for you

    Thread Starter jlagpub

    (@jlagpub)

    Great it works,

    thanks for this quickly support

    Plugin Author Natalie MacLees

    (@nataliemac)

    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.