- Posts: 11
- Thank you received: 0
Edit bubble size
- transmetent
- Topic Author
- Offline
- New Member
Less
More
6 years 1 week ago #11997
by transmetent
Edit bubble size was created by transmetent
Please Log in or Create an account to join the conversation.
- Dima
- Offline
- Platinum Member
6 years 1 week ago - 6 years 1 week ago #11998
by Dima
Don't forget support my developments: post review in JED , donate , help with translation
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
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
Last edit: 6 years 1 week ago by Dima.
Please Log in or Create an account to join the conversation.
- Dima
- Offline
- Platinum Member
6 years 1 week ago - 6 years 1 week ago #11999
by Dima
Don't forget support my developments: post review in JED , donate , help with translation
Replied by Dima on topic Edit bubble size
for example, change styles like
Open your template CSS file and add into the end.
Or you can define different size for h2 and h3
Or just for class, in this case it will work in any case of component option
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 1 week 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
6 years 5 days 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
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.
- Dima
- Offline
- Platinum Member
6 years 5 days ago - 6 years 5 days ago #12024
by Dima
Don't forget support my developments: post review in JED , donate , help with translation
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.
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 5 days 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
6 years 3 days ago #12031
by transmetent
Replied by transmetent on topic Edit bubble size
Thanks!
Please Log in or Create an account to join the conversation.
Time to create page: 0.196 seconds