Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • ossesso Friend
    #993856

    Hi, I wonder if there is a way to set the size of the markers image.
    I have tried with the css but if you change screen size, the markers move away from the correct position.

    Thanks

    Ninja Lead Moderator
    #994076

    Hi,

    You can find and change it from modules/mod_jaimagehotspot/assets/css/style.css file with the CSS style below

    /* ++ MARKER ++ */
    .jai-map-container .point {
    /* background: url(../images/icon-marker-default.png) no-repeat left top; */
      height: 24px;
      width: 24px;
      position: absolute;
      z-index: 999;
    }
    .jai-map-container .point.point-img,
    .jai-map-container .point.point-ico {
      background-repeat: no-repeat;
      height: auto;
      width: auto;
      min-height: 32px;
      min-width: 32px;
      max-height: 100px;
      max-width: 100px;
    }
    .jai-map-container .point.point-ico {
      background-size: inherit !important;
    }

    Regards

    ossesso Friend
    #995042

    Hi thanks for your very quick reply and sorry for this late comment of mine.
    Actually I have already tried with the css, but as far as I can see, I am able to increase the size of the marker, but its position in the picture changes as you shrink the page. I suppose it’s because of the position of the marker being on one corner of its container.
    Thank you anyway.
    Best regards

    Ninja Lead Moderator
    #995389

    Hi,

    You can send me the URL where I can see JA Image Hotspot module on your site, I will help to check for you.

    Regards

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

This topic contains 3 replies, has 2 voices, and was last updated by  Ninja Lead 7 years, 11 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum