Hi there!
I'm using Quark template, restaurant variation. I'd like to show a map like in steakhouse template. Is this possible? I mean use the map in the picture in the header of contact or anywhere in Quark template.
Thanks in advance
<div class="gk-map" data-latitude="-34.397" data-longitude="150.644" data-zoom="8" data-ui="yes"></div>
<div class="gk-over-map gkCols" data-cols="2">
<div data-scroll-reveal="enter left over .5s">
<h3>Contact Form</h3>
{GKCONTACT}
</div>
<div class="contact-form-info" data-scroll-reveal="enter right over .5s">
<h3>Information</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus lobortis dictum elit eu placerat. Nullam vel pellentesque tortor, nec ornare enim. Phasellus lobortis dictum elit.</p>
<address>
<strong>Address</strong>
<p>Steak House<br />
South Place Street, Chicago, CH 123456<br />
Chicago 00-000, USA</p>
<a href="https://www.google.com/maps/place/Calgary,+Alberta,+Kanada/@51.013117,-114.0741555,11z/" class="gk-locate"><i class="gk-icon-map-path-solid"></i>Locate Us</a>
</address>
</div>
</div>
// maps
jQuery('.gkMap').each(function(i, map) {
map = jQuery(map);
map.closest('.box').css('overflow', 'hidden');
var img = new jQuery('<img src="'+map.attr('data-src')+'" class="gkMap beforeload" />');
map.after(img);
var timer = setInterval(function() {
if(img[0].complete) {
clearInterval(timer);
map.addClass('beforeload');
setTimeout(function() {
map.remove();
img.addClass('active');
}, 350);
}
}, 500);
});
/* Map */
.gkMap {
background: #f1f0f0 url('../images/loader.gif') no-repeat center center;
bottom: 0;
height: 100%;
left: 0;
opacity: 0.65;
position: absolute;
-webkit-transition: all .6s ease-out;
-moz-transition: all .6s ease-out;
-ms-transition: all .6s ease-out;
-o-transition: all .6s ease-out;
transition: all .6s ease-out;
width: 100%;
z-index: 0;
}
.gkMap.beforeload {
opacity: 0;
}
.gkMap.active {
bottom: 0;
height: auto;
left: 0;
opacity: 0.65;
position: absolute;
width: 100%;
z-index: 0;
}
<div class="gkMap" data-latitude="-34.397" data-longitude="150.644" data-zoom="8" data-ui="yes"></div>
<div class="gk-over-map gkCols" data-cols="2">
<div data-scroll-reveal="enter left over .5s">
<h3>Contact Form</h3>
{GKCONTACT}
</div>
<div class="contact-form-info" data-scroll-reveal="enter right over .5s">
<h3>Information</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus lobortis dictum elit eu placerat. Nullam vel pellentesque tortor, nec ornare enim. Phasellus lobortis dictum elit.</p>
<address>
<strong>Address</strong>
<p>Steak House<br />
South Place Street, Chicago, CH 123456<br />
Chicago 00-000, USA</p>
<a href="https://www.google.com/maps/place/Calgary,+Alberta,+Kanada/@51.013117,-114.0741555,11z/" class="gk-locate"><i class="gk-icon-map-path-solid"></i>Locate Us</a>
</address>
</div>
</div>
<div class="gkMap static" data-latitude="49.018324" data-longitude="12.071269" data-ui="yes" data-zoom="12"></div>