-
Forum
-
Zh GoogleMap
-
Component
-
InfoBubble Width
InfoBubble Width
-
tag6
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 24
-
Thank you received: 0
-
-
5 years 2 months ago #12208
by tag6
in infoBubble Style I created myInfoBubble and set the parameters Min Width 200 Max Width 300, in Placemark infoBubble Tabs I set myInfoBubble, but Width of Placemark depends on Width insert image in addition Html text by Placemark Details. Sorry my english.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
5 years 2 months ago #12211
by Dima
Hi.
As I understand right, your image is oversize of popup.
In my CSS I override max-width to none for img tags, because there are a lot of problem with map tiles and controls.
And, this can cause to your images in placemark content.
Try to override my CSS in your template like this styles
.placemarkContent img , placemarkBody img {
max-width: 100% !important;
}
Check on your image if it get it, or it still overriden by my CSS.
If it still overriden - create simple CSS file, add this styles, upload and add into map details -> Advanced options. Field "Additional CSS style files for loading"
And check again.
If you still will have troubles - give me link to your page with map and tell what placemark.
Please Log in or Create an account to join the conversation.
-
tag6
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 24
-
Thank you received: 0
-
-
5 years 2 months ago #12213
by tag6
thank you very much for your answer, but it does not work, see attached.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
5 years 2 months ago #12215
by Dima
Check in page source where your custom.css is, and add this URL as I wrote: If it still overriden - create simple CSS file, add this styles, upload and add into map details -> Advanced options. Field "Additional CSS style files for loading"
That styles loaded after my common.css, therefore it will override mine
Please Log in or Create an account to join the conversation.
-
tag6
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 24
-
Thank you received: 0
-
-
5 years 2 months ago #12225
by tag6
I created customMaps.css (max-width: 50%) in templates/template/css and add to map details -> Advanced options. Field "Additional CSS style files for loading" but it is overwritten (see attachment)
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
5 years 2 months ago #12226
by Dima
Can you give me direct link to your page with map
Please Log in or Create an account to join the conversation.
-
Forum
-
Zh GoogleMap
-
Component
-
InfoBubble Width
Time to create page: 0.078 seconds