- This topic has 1 reply, 2 voices, and was last updated 5 days, 13 hours ago by Matthew.
July 22, 2021 at 2:38 pm #69977infiniParticipant
We are using WPgmaps for a customer project. Sadly we have some problems with the layout of the info boxes:
When the title is longer than one line, the line breaks but it overlaps with other text. Also, if the adress line is longer than one line, it doesnt break but sticks out of the info box into the map.
You can see the problem here:
We are using WPGmaps Gold and Divi. Help is appreciated.
Thanks in advance for any advice.
July 23, 2021 at 8:30 am #69985MatthewModerator
- This topic was modified 6 days, 7 hours ago by infini. Reason: edited link
- This topic was modified 5 days, 13 hours ago by Matthew.
Thank you for getting in touch with us, we do appreciate your time.
I have taken a look at your infowindows and have thus written some custom JS and CSS code that should help in restyling the infowindow’s text.
Thus please may you copy and paste the CSS code found within the following Gist into the “Custom CSS” setting block (Maps -> Settings -> Advanced Settings): https://gist.github.com/MatthewCodeCabin/3b9b5183e454657199987973b009437a
Please may you also copy and paste the JS code found within the following Gist into the “Custom JS” setting block (Maps -> Settings -> Advanced Settings): https://gist.github.com/MatthewCodeCabin/2c7ee4182f4c485fb6e71d49bf100eab
Once this has been done, please may you save, clear your browser cache and confirm if this has helped?
I look forward to hearing back from you.
- You must be logged in to reply to this topic.