Border around the map

  • spacialek
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 9 months ago #1021 by spacialek
Border around the map was created by spacialek
I am wondering how to display a gray border around the map (with a 5px white padding), and prevent the updates to override it each time?

I was able to do it on the component with an override file in the html folder, but it didn't work with the plugin.

I'm having the latest Zh GoogleMap version

Thanks!

Please Log in or Create an account to join the conversation.

More
11 years 9 months ago #1039 by Dima
Replied by Dima on topic Re: Border around the map
Hi.
Map div has its ID
You can add into your template CSS style for your map div. Its name you can see, for example, in firefox firebug.
If you display map by module - check css suffix too

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

  • spacialek
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 9 months ago #1063 by spacialek
Replied by spacialek on topic Re: Border around the map
Hi Dima,

Dima wrote: Hi.
Map div has its ID
You can add into your template CSS style for your map div. Its name you can see, for example, in firefox firebug.
If you display map by module - check css suffix too


I have already tried that, but the padding is filled with the map background, so all I can do is apply the border, without a white padding inside..

I cannot use modules, cause there is too much pages already configured with the plugin option, It would mean to start over..

Thanks!

Please Log in or Create an account to join the conversation.

More
11 years 9 months ago #1066 by Dima
Replied by Dima on topic Re: Border around the map
I think I did it, margins and padding, and all was fine

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

Time to create page: 0.122 seconds

Donate


Go to top