Module issue

GK User
Thu Dec 31, 2015 6:27 am
I'm trying to add a google map plugin to the events module. I am unable to get the map to be centred in the module and the maps are forced to the left. There is no issue with centering the text. Can you please let how I can centre the maps? The site is www.melbournebasketball.com.au/tigers. Thanks for your help.
User avatar
Senior Boarder

teitbite
Fri Jan 01, 2016 2:53 pm
Hi

Here is a code to center that, but it does not look to be a responsive. You may need to hide it for smaller screens or look for a different module

Code: Select all
#phocamaps-box div.pmbox-greyrc {
    float: none;
    margin: 0 auto;
    max-width: 723px;
}
User avatar
Moderator

GK User
Mon Jan 04, 2016 4:18 am
Thanks for the reply. I added that code to the overide.css and the map is now centered but the 'Get route' below the map did not adjust. Do you have any further suggestions? Thanks for your help.
User avatar
Senior Boarder

teitbite
Wed Jan 06, 2016 7:26 pm
Hi

Add this code as well:

Code: Select all
#phocamaps .pmroute, .pmroute {
    margin-left: auto;
    margin-right: auto;
    width: 575px;
}
User avatar
Moderator

GK User
Mon Jan 11, 2016 4:55 am
Thanks mate. That solved the problem. Really appreciate your help.
User avatar
Senior Boarder

teitbite
Wed Jan 13, 2016 5:42 pm
Hi

Glad I could help.
---
If You were satisfied with our support please let other users know on Twitter: http://twitter.com/gavickpro or Facebook: http://www.facebook.com/gavickpro
User avatar
Moderator


cron