Edit bubble size

  • transmetent
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 2 weeks ago #11997 by transmetent
Edit bubble size was created by transmetent
Hi,

I like to know how can I edit the bubble size cause the text are bigger than the bubble.

I attach you a screenshot.

Thanks!
Attachments:

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

More
6 years 2 weeks ago - 6 years 2 weeks ago #11998 by Dima
Replied by Dima on topic Edit bubble size
Hi.
Lets I tell more information.



For placemark title I create h2 or h3 tag.
What tag use - it is component option. Press "Options" button (for example, in map list), scroll down.



As for title in infowin.
Your template set styles for H2 or H3, and font size can be too big.
Check my documentation, just fix style.
Look at example wiki.zhuk.cc/index.php/Zh_GoogleMap_Trou...ark_Title_is_too_big

Don't forget support my developments: post review in JED , donate , help with translation ;)
Attachments:
Last edit: 6 years 2 weeks ago by Dima.

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

More
6 years 2 weeks ago - 6 years 2 weeks ago #11999 by Dima
Replied by Dima on topic Edit bubble size
for example, change styles like
Code:
h2.placemarkHead, h3.placemarkHead { font-size: 1.4em; }

Open your template CSS file and add into the end.
Or you can define different size for h2 and h3
Code:
h2.placemarkHead { font-size: 1.4em; } h3.placemarkHead { font-size: 1em; }

Or just for class, in this case it will work in any case of component option
Code:
.placemarkHead { font-size: 1em; }

Don't forget support my developments: post review in JED , donate , help with translation ;)
Last edit: 6 years 2 weeks ago by Dima.

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

  • transmetent
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 1 week ago #12023 by transmetent
Replied by transmetent on topic Edit bubble size
Hi,
thanks for your help. I did it and it worked fore the example i was given but in the future i'll need to write longer names and i'll have the same problem. It would be possible to make it in two lines when the name reaches X characters?

Thanks

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

More
6 years 1 week ago - 6 years 1 week ago #12024 by Dima
Replied by Dima on topic Edit bubble size
Hi.
In next release I'll remove style "white-space:nowrap;" for placemark title.

In this case title will change to 2 or more lines.

I set not break title for set popup size (it comes from my ZhGoogleMap extension). In next release you can also control min width and min height of popup (infowin). And in this case this property is not necessary.

Don't forget support my developments: post review in JED , donate , help with translation ;)
Last edit: 6 years 1 week ago by Dima.

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

  • transmetent
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 5 days ago #12031 by transmetent
Replied by transmetent on topic Edit bubble size
Thanks!

:D

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

Time to create page: 0.201 seconds
Powered by Kunena Forum