-
AuthorPosts
-
August 18, 2015 at 12:59 pm #362494
Hello,
I have attempted to modify the custom css to allow me to make the google map on my about page appear in a circle. I tried the following:
map {
border: 5px solid #000000;
overflow:hidden;
border-radius:999px;
-moz-border-radius:999px;
-webkit-border-radius:999px;
-o-border-radius:999px;
position:fixed;
}.map {
border: 5px solid #000000;
overflow:hidden;
border-radius:999px;
-moz-border-radius:999px;
-webkit-border-radius:999px;
-o-border-radius:999px;
position:fixed;
}#map {
border: 5px solid #000000;
overflow:hidden;
border-radius:999px;
-moz-border-radius:999px;
-webkit-border-radius:999px;
-o-border-radius:999px;
position:fixed;
}None seemed to work when I entered them in the map’s custom css field. Any ideas on how to fix this?
August 18, 2015 at 2:00 pm #362538Hello There,
Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
Thanks.
August 18, 2015 at 5:03 pm #362690This reply has been marked as private.August 18, 2015 at 9:18 pm #362843Hi there,
Thanks for updating the thread! You can add this under Custom > CSS in the Customizer or in your child theme’s style.css file.
.x-map-inner.x-google-map-inner { border: 5px solid #000000; border-radius:999px; -moz-border-radius:999px; -webkit-border-radius:999px; -o-border-radius:999px; width:440px; }
Hope this helps – thanks!
August 19, 2015 at 10:29 am #363458This reply has been marked as private.August 19, 2015 at 11:45 am #363534Hi There,
Please update the previous CSS a bit:
.x-map-inner.x-google-map-inner { border: 5px solid #A3A3A3; border-radius: 50%; -moz-border-radius: 50%; -webkit-border-radius: 50%; -o-border-radius: 50%; width: 330px; margin-top: 20px; margin-left: auto; margin-right: auto; }
Hope it helps.
August 19, 2015 at 1:31 pm #363623Perfection. Is there a way to add a pin on the location on the map easily?
August 19, 2015 at 4:26 pm #363762Hello There,
Thanks for writing in!
To add an google map marker first is to navigate to https://www.google.com/maps/ then tap the location you want to point. A latitude and longitude value respectively will be available on the upper left and on the address bar. Then use that value with [google_map_marker].
Thanks.
August 19, 2015 at 5:56 pm #363845This reply has been marked as private.August 19, 2015 at 6:04 pm #363854Disregard, I fixed it. Thanks a lot!
August 19, 2015 at 8:15 pm #363943Glad you sorted things out.
Cheers!
-
AuthorPosts