Skip Navigation

[Resolved] Removing | Use My Location

This support ticket is created 3 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 5 replies, has 2 voices.

Last updated by Armando 3 years, 10 months ago.

Assisted by: Minesh.

Author
Posts
#1625091
Cathlab_Test_Job___CathLab_com.png

Tell us what you are trying to do?
Removing | Use My Location

I would like to remove the "Use My Location link from the form. The | character is not wrapped around anything. If I hide the parent, its the address field, which I dont want to do. I just want to hide the | and the link.

Thank you!

#1625123

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

To hide the "Use my location", you should try to add the following CSS code to your view or Content template:

.js-toolset-maps-distance-current-location{
display: none !important;
}
#1628283
Screen Shot 2020-05-17 at 6.41.15 PM.png

Hello Minesh, this did not work. I am attaching the HTML in a screenshot. As you can see, there isn't a container around the | to target via CSS.

Thank you!

#1628421

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Can you please try to add the following CSS code:

.js-toolset-google-map-use-visitor-location{
display: none !important;
}

This should work now.

#1642331
Screen Shot 2020-05-28 at 4.27.04 PM.png

Hi, sorry for the delayed reply. The location link no longer shows but the | divider is still there. that is my main issue, the | is not wrapped around any divs that I can target. Please advise.

#1648259

Hi following up on this.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.