InfoBubble Width

  • tag6
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 8 months ago #12208 by tag6
InfoBubble Width was created 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.

More
5 years 8 months ago #12211 by Dima
Replied by Dima on topic InfoBubble Width
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.

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

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

  • tag6
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 8 months ago #12213 by tag6
Replied by tag6 on topic InfoBubble Width
thank you very much for your answer, but it does not work, see attached.
Attachments:

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

More
5 years 8 months ago #12215 by Dima
Replied by Dima on topic InfoBubble Width
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

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

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

  • tag6
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 8 months ago #12225 by tag6
Replied by tag6 on topic InfoBubble Width
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)
Attachments:

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

More
5 years 8 months ago #12226 by Dima
Replied by Dima on topic InfoBubble Width
Can you give me direct link to your page with map

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

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

Time to create page: 0.237 seconds
Powered by Kunena Forum