Divi Mobile Solutions

Add Tap for Directions on Mobile

Written by Divi Mobile Team

On July 6, 2016

Add Tap for Directions on Mobile

Several things are important for end users when they visit a mobile site. One of those is the get directions feature.

I use the following code that works across all devices and will even detect the end users current location or prompt them to turn on Location on their mobile device.

The nice thing about this is it’s a URL, so you can add this link to TEXT, IMAGE, CALL TO ACTION or a BUTTON.

The link below is all you need and the text in red is what gets changed.

Google will detect the user’s location and automatically generate directions based on where they are right now.

https://www.google.com/maps/dir/Current+Location/Ashton+Depot+Catering+%2B+Events,+1501+Jones+St,+Fort+Worth,+TX+76102

You May Also Like…

How to Control the Divi Mobile Menu Top Border

How to Control the Divi Mobile Menu Top Border

Adding some color or flare to your divi mobile menu is a nice idea, but what if want to control it on a page by page basis? Yes it is possible with a little bit of CSS. You may even want the whole top border to be gone and not used at all. The CSS is listed below. You...

How To Add Text Above or Below the Mobile Hamburger Menu

How To Add Text Above or Below the Mobile Hamburger Menu

Adding some text below or above the mobile hamburger menu on Divi is really easy to add and edit to your liking.  With the code below simply add it to your Divi / Theme Options / Global CSS and you are done. You can change  the word MENU to anything you like, change...

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *