Pin Icons in Store Locator map

Hi,

Does anyone know why the pin icons in Store Locator look like this. In my widget settings (elfsight) they look fine, but on the website they look like this. I have tried to change to other colors, regenerate the code, but nothing helps. It kind of mess up the user experience.

Anyone know how to fix it, or what is wrong?

Hi @Soren_Damsgaard, nice to see you in the Community :waving_hand:

It looks like the style conflict that should be easily fixable by our devs. For us to check things, please send me a direct link to a page where the issue is present – we’ll take a look :slightly_smiling_face:

Hi,

I am not sure if you can access this Shopify preview link, but let’s try.

https://admin.shopify.com/store/chabilonline/themes/180749336876/editor?previewPath=%2Fpages%2Fstore-locator

Also, is there a way to reduce the height of the widget, to avoid too much scrolling? It would be nice to reduce by 50% as that would be enough to display 3 retailers and a big part of the map, and that will fit better into the web page, without having to scroll down.

1 Like

Hi there, @Soren_Damsgaard :waving_hand:

Please let me step in for Irene.

Unfortunately, we can’t open this link, since it requires access to your website’s backend.

If your website isn’t live yet, could you please either add this widget to the test page of your website and share a link to it or provide us with the access to your website?

Once this done, we’ll gladly look into this with the devs :slightly_smiling_face:

Hi,

Just copied in the code to our LIVE website, and I can see that the map pins are displayed correctly on this site. For some reason they are not displayed correctly in our new template. Is that still something that sits within your development, or should I reach out to the new theme developers?

Does it make sense to you that pin icons are displayed in two different ways, in two different themes?

Thanks.

// Soren

1 Like

Yep, I got it! As Irene mentioned before, this issue occurs because of the conflicting styles. To fix it, we need to check the widget on the website with the theme, where this issue occurs.

If you could install the widget to the test page or share access to your website with us, we’d be happy to fix it and assist with the height customization :slightly_smiling_face:

I have now installed the widget on the LIVE site. On the LIVE site the pins are fine, but the new theme I am working on does not display the pins correctly.

https://chabil.online/pages/store-locator

1 Like

Thanks! To fix the marker color issue, please try to add this code to the Custom CSS field on the Style tab of your widget’s settings:

[class*="marker__Dot-sc"] {
    background: white !important;
}

In case it doesn’t help, we’ll need to check on the website with the theme, where the issue occurs.

As for the widget height, do you need to display only 3 locations in the sidebar without an option to see all the other locations when clicking on the Load More button?

Or maybe you just need to display only 3 locations before the Load More button appears?

Hi,

Any news around the pin icons and the colour issues?

Thanks.

// Soren

1 Like

Hi there, @Soren_Damsgaard :waving_hand:

It seems you might have missed my previous message. I’ll duplicate it here :slightly_smiling_face:

Hi,

The custom CSS code didn’t change anything from the pin perspective.

And, the map is still the same height, even with only 3 stores. Actually, the map is getting even higher and higher if I zoom out on the browser. It looks like a dynamic height that is not adjustable in any way, and the scrolling is unnecessary and bad for the UX.

See the below two different screenshots.

1 Like

Hi there, @Soren_Damsgaard :waving_hand:

I see that you’ve added the CSS code for the pin color to your website’s settings, but it should be added to the Custom CSS field on the Style tab of your widget’s settings:

Please try it out and let me know if it helped :slightly_smiling_face:

As for the widget’s height, we’ll need to check it on the live page, where this issue occurs. Could you please either share a link to this page (if it’s already live) or install it to a test page, where the issue with the height is also replicated?

Sorry, doesn’t work, and I have inserted the code in the widgets CSS field this time.

The site is not live yet, as we are still trying to solve some of these issues. So, don’t know how to share the site with you?

1 Like

Got it! Please share access to your website following the steps described in this article - Providing access to your Shopify website - Elfsight Help Center.

Let me know once this done and I’ll pass your request on to the devs :slightly_smiling_face:

7694

Theme: Release

1 Like

Thanks for sharing the collaborator code! The access request has been sent. Could you please confirm once it’s approved?

Accepted …

1 Like

Thank you!

We’ve fixed both issues using this CSS code:

[class*="widget__Container-sc"]{
  max-height: 1000px;
}

[class*="marker__Dot-sc"] {
  display: block !important;
}

Please check your website and let me know if it’s been resolved on your end :slightly_smiling_face: