# Google maps - location window width

**URL:** <https://community.elfsight.com/t/google-maps-location-window-width/12576>\
**Category:** Customization\
**Tags:** google-maps\
**Created:** [February 19, 2023, 8:06am UTC](https://community.elfsight.com/t/google-maps-location-window-width/12576 "2023-02-19T08:06:44Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rakel\_Bara](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/rakel_bara/32/3936_2.png) [@Rakel\_Bara](https://community.elfsight.com/u/Rakel_Bara)\
**Post date:** [February 19, 2023, 8:06am UTC](https://community.elfsight.com/t/google-maps-location-window-width/12576/1 "2023-02-19T08:06:44Z")

</div>

Hello!

Is it possible to set the width for the location window in google maps?

Best regards  
Rakel

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [February 20, 2023, 10:35am UTC](https://community.elfsight.com/t/google-maps-location-window-width/12576/3 "2023-02-20T10:35:47Z")

</div>

Hello @Rakel_Bara! We are so happy to see you with us! Welcome to Community ❤ 👋

Sure thing, we’ll be happy to assist!

I’ve forwarded your request to our devs and they’ll come up with a solution really soon.

Please do not worry, we’ll keep you updated 😉

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [February 20, 2023, 1:28pm UTC](https://community.elfsight.com/t/google-maps-location-window-width/12576/6 "2023-02-20T13:28:22Z")

</div>

@Rakel_Bara You just need to add the CSS code below to the Custom CSS field on the Appearance tab of your widget settings:

```auto
.eapps-google-maps-marker {
  width: 350px;
  max-width: 350px;
}

```

Please check it and let me know how it works for you 🙂

---

<div class="post-metadata">

**Author:** ![Rakel\_Bara](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/rakel_bara/32/3936_2.png) [@Rakel\_Bara](https://community.elfsight.com/u/Rakel_Bara)\
**Post date:** [February 20, 2023, 5:36pm UTC](https://community.elfsight.com/t/google-maps-location-window-width/12576/7 "2023-02-20T17:36:28Z")

</div>

Hi Max  
Thank you very much, that worked perfectly 🙂 I have another quesiton though. I am trying to use a horizontal line in the description using the

* * *
 tag but every time I try to use it, it disappears. How can I get it to stay?

Best regards  
Rakel

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [February 20, 2023, 5:53pm UTC](https://community.elfsight.com/t/google-maps-location-window-width/12576/8 "2023-02-20T17:53:06Z")

</div>

@Rakel_Bara Happy to hear that the code worked 😊

Could you please specify where exactly you are trying to add `<hr>` tag? Screenshots would be highly appreciated 🙏

---

<div class="post-metadata">

**Author:** ![Rakel\_Bara](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/rakel_bara/32/3936_2.png) [@Rakel\_Bara](https://community.elfsight.com/u/Rakel_Bara)\
**Post date:** [February 20, 2023, 5:59pm UTC](https://community.elfsight.com/t/google-maps-location-window-width/12576/9 "2023-02-20T17:59:04Z")

</div>

Hi again  
It’s in the description - in the editor when I switch to code view. I can enter the tag, but after I switch back the tag is gone.  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/2X/3/3da35548cc8b71e2c8856929dd8b36d1b072a7f9.png)

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [February 20, 2023, 6:20pm UTC](https://community.elfsight.com/t/google-maps-location-window-width/12576/10 "2023-02-20T18:20:07Z")

</div>

@Rakel_Bara I’ve tried to add the tag and everything is working fine:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/2X/3/36c7f266d313003cf5f452f0c666d52aa72d8818.png)

Could you please double-check it?

---

<div class="post-metadata">

**Author:** ![Rakel\_Bara](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/rakel_bara/32/3936_2.png) [@Rakel\_Bara](https://community.elfsight.com/u/Rakel_Bara)\
**Post date:** [February 20, 2023, 6:27pm UTC](https://community.elfsight.com/t/google-maps-location-window-width/12576/11 "2023-02-20T18:27:09Z")

</div>

Yes it appears, but try going into the description again and it disappears.

---

<div class="post-metadata">

**Author:** ![Rakel\_Bara](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/rakel_bara/32/3936_2.png) [@Rakel\_Bara](https://community.elfsight.com/u/Rakel_Bara)\
**Post date:** [February 20, 2023, 6:31pm UTC](https://community.elfsight.com/t/google-maps-location-window-width/12576/12 "2023-02-20T18:31:38Z")

</div>

Hi Max

Here is a video where you can see the

* * *
 tag disappear.

Best regards

Rakel

(Attachment 2023-02-20\_19-29-48.mp4 is missing)

---

<div class="post-metadata">

**Author:** ![Rakel\_Bara](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/rakel_bara/32/3936_2.png) [@Rakel\_Bara](https://community.elfsight.com/u/Rakel_Bara)\
**Post date:** [February 20, 2023, 6:32pm UTC](https://community.elfsight.com/t/google-maps-location-window-width/12576/13 "2023-02-20T18:32:18Z")

</div>

Hi again, I just sent you an e-mail with a video, showing the tag disappear.  
Hope you can see it!

---

<div class="post-metadata">

**Author:** ![Rakel\_Bara](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/rakel_bara/32/3936_2.png) [@Rakel\_Bara](https://community.elfsight.com/u/Rakel_Bara)\
**Post date:** [February 20, 2023, 6:35pm UTC](https://community.elfsight.com/t/google-maps-location-window-width/12576/14 "2023-02-20T18:35:13Z")

</div>

Ok apparently it is not allowed to send videos. Can you see it here: [https://www.legstadaleit.com/hrtag.mp4](https://www.legstadaleit.com/hrtag.mp4)

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [February 20, 2023, 7:04pm UTC](https://community.elfsight.com/t/google-maps-location-window-width/12576/15 "2023-02-20T19:04:39Z")

</div>

@Rakel_Bara Yes, I see the issue!

I am really sorry! Please let me consult with our devs.

I’ll immediately get back to you as soon as I receive any updates!

---

<div class="post-metadata">

**Author:** ![Rakel\_Bara](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/rakel_bara/32/3936_2.png) [@Rakel\_Bara](https://community.elfsight.com/u/Rakel_Bara)\
**Post date:** [February 20, 2023, 7:11pm UTC](https://community.elfsight.com/t/google-maps-location-window-width/12576/16 "2023-02-20T19:11:13Z")

</div>

Excellent! Thank you 😃

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [February 21, 2023, 12:45pm UTC](https://community.elfsight.com/t/google-maps-location-window-width/12576/18 "2023-02-21T12:45:19Z")

</div>

Hello @Rakel_Bara 👋

Thank you for waiting!

I’ve consulted with our devs and unfortunately `<hr>` isn’t supported in our Code Editor.

You can try to use this CSS code instead:

```auto
.global-styles, .eapps-google-maps-marker-description ul {
  border-top: 1px solid grey;
  padding-top: 5px;
}

```

Please check it and let me know if you like what you see 🙂

---

<div class="post-metadata">

**Author:** ![Rakel\_Bara](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/rakel_bara/32/3936_2.png) [@Rakel\_Bara](https://community.elfsight.com/u/Rakel_Bara)\
**Post date:** [February 21, 2023, 1:19pm UTC](https://community.elfsight.com/t/google-maps-location-window-width/12576/19 "2023-02-21T13:19:12Z")

</div>

Hi Max

The thing is, I have a list of links in the description, and I wanted to put a horizontal line between each link so that each link is clearly defined. I had used the line break tag “br” – but that leaves a space that is too big (in my opinion) between the links. Can that be adjusted with CSS? See image.

 ![](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/2X/d/d87f490aace18629818f0c4700383a1f6d4273ed.png)

Best regards

Rakel

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [February 21, 2023, 1:55pm UTC](https://community.elfsight.com/t/google-maps-location-window-width/12576/20 "2023-02-21T13:55:18Z")

</div>

@Rakel_Bara Yes, this CSS code helps you to do this.

Here is how it looks:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/2X/2/2415d9913cee038dab210e5815f15b327b117fb8.png)

Please let me know what you think.

---

<div class="post-metadata">

**Author:** ![Rakel\_Bara](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/rakel_bara/32/3936_2.png) [@Rakel\_Bara](https://community.elfsight.com/u/Rakel_Bara)\
**Post date:** [February 21, 2023, 5:37pm UTC](https://community.elfsight.com/t/google-maps-location-window-width/12576/21 "2023-02-21T17:37:26Z")

</div>

Hi Max  
That looks great! Is it possible to make the spacing between the links smaller (the spacing I showed in the image above)? I don’t know if it is possible but if it is, that would make everything look perfect! 😃  
Best regards  
Rakel

---

<div class="post-metadata">

**Author:** ![Rakel\_Bara](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/rakel_bara/32/3936_2.png) [@Rakel\_Bara](https://community.elfsight.com/u/Rakel_Bara)\
**Post date:** [February 21, 2023, 5:41pm UTC](https://community.elfsight.com/t/google-maps-location-window-width/12576/22 "2023-02-21T17:41:55Z")

</div>

Hi again Max

I managed to figure it out myself 😃  
I used this CSS:

```auto
br
{ content: "A" !important;
    display: block !important;
    margin-bottom: 1em !important;
}

```

Thanks for excellent support!  
Best regards  
Rakel

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [February 21, 2023, 5:44pm UTC](https://community.elfsight.com/t/google-maps-location-window-width/12576/23 "2023-02-21T17:44:40Z")

</div>

@Rakel_Bara It’s no bother!

---

<div class="post-metadata">

**Author:** ![Giorgos](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/giorgos/32/3381_2.png) [@Giorgos](https://community.elfsight.com/u/Giorgos)\
**Post date:** [February 23, 2023, 12:02am UTC](https://community.elfsight.com/t/google-maps-location-window-width/12576/24 "2023-02-23T00:02:26Z")

</div>

Hey @Max is it possible to open the window by default on mobile devices? I have enabled this option but is working only for desktop.

[Next page](https://community.elfsight.com/t/google-maps-location-window-width/12576.md?page=2)
