- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
HTML. How to change Google Map location
October 24, 2011
The following tutorial will show you how to change the google map location in the HTML based template. Due to the common pages structure the tutorials is also valid for such template types as Full Site, Full Package, JS Animated, Static Template.
Usually the google map is located at the Contacts page. Let’s see how you can display your location there. First of all open your template folder and go to the site directory. There you can see several html files (index.html, index-1.html etc) or a single html file. In any case HTML files contain the content of your template pages.
Open any index file with your browser and click on the Contacts button. In the address bar you should see the page filename. Open it with your HTML editor (Adobe Dreamweaver, Notepad etc). Scroll down or using the search tool (CTRL+F) search for the iframe tag. Google Map is usually embedded into the page using the following construction:
So to put your map here please perform the following steps:
- Visit maps.google.com
- Select your location and zoom
- Click the link icon in the top right corner and copy the Paste HTML to embed… field
- Paste the code into your contact page html file replacing the existing one
- Edit the map dimensions (width="312" height="210")
- Save the file and refresh the page in browser
That’s all, now you should see your updated google map.