diff --git a/assets/css/sportspress.css b/assets/css/sportspress.css index 3372d94d..47624360 100644 --- a/assets/css/sportspress.css +++ b/assets/css/sportspress.css @@ -525,10 +525,24 @@ } /* Google Maps */ +.sp-google-map-container { + position: relative; +} .sp-google-map { width: 100%; height: 320px; } +.sp-google-map-link { + content: ''; + display: block; + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + background: url(../images/maps/pin.png) no-repeat center center; + background-size: 26px 44px; +} .sp-google-map img { max-width: none !important; } diff --git a/assets/images/maps/pin.png b/assets/images/maps/pin.png new file mode 100644 index 00000000..54c4c47d Binary files /dev/null and b/assets/images/maps/pin.png differ diff --git a/templates/venue-map.php b/templates/venue-map.php index c98ac53b..8415bfd2 100644 --- a/templates/venue-map.php +++ b/templates/venue-map.php @@ -25,12 +25,15 @@ if ( 'satellite' !== $maptype ) $maptype = 'roadmap'; if ( $latitude != null && $longitude != null ): ?> - +
+ + +