Edit bubble size

  • transmetent
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
7 months 1 week 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
7 months 1 week ago - 7 months 1 week 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 ;)

Post your sites as examples into my directory User's Sites for apropriate extension
Attachments:
Last edit: 7 months 1 week ago by Dima.

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

More
7 months 1 week ago - 7 months 1 week ago #11999 by Dima
Replied by Dima on topic Edit bubble size
for example, change styles like
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
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
.placemarkHead {
   font-size: 1em;
}

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

Post your sites as examples into my directory User's Sites for apropriate extension
Last edit: 7 months 1 week ago by Dima.

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

  • transmetent
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
7 months 13 hours 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
7 months 12 hours ago - 7 months 12 hours 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 ;)

Post your sites as examples into my directory User's Sites for apropriate extension
Last edit: 7 months 12 hours ago by Dima.

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

  • transmetent
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
6 months 4 weeks 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.235 seconds

Donate


Go to top