-
Forum
-
Zh OpenStreetMap
-
Component
-
Edit bubble size
Edit bubble size
-
transmetent
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 11
-
Thank you received: 0
-
-
5 years 5 months ago #11997
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!
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
5 years 5 months ago - 5 years 5 months ago #11998
by Dima
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
Last edit: 5 years 5 months ago by Dima.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
5 years 5 months ago - 5 years 5 months ago #11999
by Dima
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;
}
Last edit: 5 years 5 months ago by Dima.
Please Log in or Create an account to join the conversation.
-
transmetent
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 11
-
Thank you received: 0
-
-
5 years 5 months ago #12023
by transmetent
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.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
5 years 5 months ago - 5 years 5 months ago #12024
by Dima
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.
Last edit: 5 years 5 months ago by Dima.
Please Log in or Create an account to join the conversation.
-
transmetent
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 11
-
Thank you received: 0
-
-
-
Forum
-
Zh OpenStreetMap
-
Component
-
Edit bubble size
Time to create page: 0.186 seconds