These errors come from CSS rules from your WordPress theme that are also applied to elements on the map. For example, on your page, I was able to fix the popup by disabling the #content table
and #content tr th
rules which add extra margins. In a test setup I even got gray gaps between the tiles because of .entry-content img { max-width: 97.5% }
in Twenty Eleven.
Probably the easiest fix would be to embed the map in an iframe so that the main CSS rules are not applied there (I don’t know whether you can do that with the API?). If that is not acceptable for your situation, you could append extra rules that undo the WordPress rules for maps (e.g. .entry-content .map-canvas img {max-width: none}
), or ask the map providers to add more explicit rules (with !important
) to the style sheets they provide.
Related Posts:
- GeoMashup plugin: how to customize cluster markers / icons? [closed]
- Why won’t the Comprehensive Google Map Plugin load?
- Plugin – including external javascript calling google maps
- How to disable specific plugin in mobile version?
- Is there an earlier hook than login_head or login_enqueue_scripts?
- Best approach to fetch data from wp options to js file or php file
- Can someone please tell me what is wrong with my plugin?
- Updating the Drag-To-Share eXtended share URLs?
- Scripts at the end of the page
- wordpress site | All-in-one-cufon IE Issue
- Enqueue WordPress plugin scripts below all other JS
- How to add Internationalization in WordPress using Javascript/React?
- Can I use custom CSS and js plugin to put JavaScript in to validate my forms
- Change upload folder for a CPT
- How to get the element ID from new menu list that added with add_filter()?
- Override Plugin Script Fucnction in WordPress
- Time consuming callbacks in customizer
- Modifying a .js Function for Print [QZ Tray, WooCommerce POS]
- add image crop function like in wp customizer
- Calculate price and display on woocommerce product single page under price (simple price, variable price) [closed]
- Executing Javascript when a New Post is Published
- Set featured image using javascript in post editor
- Display encrypted content on my website
- Is there a standard way to listen for an on change event of a posts featured image
- How to edit content before post update
- Trying to create a private area custom for each user where they upload images to a server [closed]
- wp.media javascript issue with on select
- WordPress + JavaScipt + AJAX + MySQL: insert query for form
- add input in custom javascript from WordPress pages/posts
- Advanced AJAX Page Loader ignores other JS code
- How to insert HTML/JavaScript form into WordPress page? [closed]
- accessing wp.media api from a tinymce plugin
- Add custom JavaScript that is a combination of CDN/uploaded files and easily-edited code?
- How to load wp_editor via AJAX
- Redux Framework: Page freezes on typing in Editor
- How to get DEFER or ASYNC attribute to appear when I add a stylesheet with wp_enqueue_style from a plugin? [duplicate]
- How to get my plug-in, wrote in php, to refresh on its own every 5 minutes?
- WordPress 3.8.3. custom theme – sliders won’t load js/css files
- Using TinyMCE in plugin?
- Using window.onload with Ubermenu
- How can I remove the WordPress-Version (?ver=5.x) from my plugin
- Redirect to another page using contact form 7? [closed]
- Is there a loading priority for login_enqueue_scripts?
- Delay JavaScript files from loading
- “Conflict” with jQuery (or its plugins)?
- JavaScript in a PHP plugin
- Deactivate JS Script in Plugin Shortcode
- how to prevent all css and javascripts files from loading
- Remove / overwrite some functions in buddypress.js
- wordpress add_action() issue in ajax call
- How do I add some javascript validation to the admin interface form’s onsubmit?
- Localizing methods for jQuery append prepend wrap parent
- How to execute a plugin on a single page only?
- how to insert a HTML form into a javascript popup?
- Display a consistent Google Plus icon on ALL pages of my site
- MediaElement.js works on one site but not the other?
- Which plugin can do horizontal scrolling of RSS feeds in WordPress [closed]
- Pass user role to javascript code inside body
- Add type to enqueued script inside plugin
- After updating the WordPress getting a syntax error in the console
- How to generate an all in one WordPress New content, plugin and theme update report on a website? [closed]
- Where is my google maps on my page? [closed]
- get specific value of a array | PHP
- How to get specific string/value from an array? php [closed]
- coding a WordPress AJAX Form using PHP to check if User is Logged Out and Show error
- How use wp media upload liberary in react components?
- Access post title from custom meta box on title change
- Background Music WP [closed]
- How to use custom Javascript code inside a plugin?
- Why does my jQuery plugin show up as text in WordPress?
- Adding a simple Javascript file with a plugin
- JQuery needs to be defined in , but Gravity Forms is defining it in the
- Disable submit button order
- Conditional custom redirect
- Executing Javascript in Plugin
- Social share buttons text shows up on post excerpts
- Meta slider plugin only works after first refresh – Object has no method ‘flex slider’
- Load CSS files in header of Bones theme?
- how to request a script more than once in wordpress
- How to turn off automatic operation for Nivo Slider?
- How to enqueue some javascript source once per page
- Dropdown menu on click change
- JS Plugin not executing the js correctly. Trying to make all internal links scroll smoothly
- Call javascript functions from each page
- Javascript from Easy-Fancybox place into footer
- Google Maps with categories
- CSS/JS files in WordPress
- How do I override all stylesheets and scripts without a plugin
- What’s the default setting for including a in a post
- Wp-minify doesn’t seem to minify my JS code
- Plugin Admin panel checkbox unchecked after submit
- uncaught TypeError: Cannot read properties of null (reading ‘classList’) custom plugin
- How do I minify a plugins CSS/JS code?
- Custom Plugin scripts from admin working in frontend
- Code for unique user visit count on every page WordPress
- Directorist – Dropdown doesn’t open
- Ajax call not working in wordpress through a plugin
- Send Array from JS to php file then insert it in wp database through a plugin
- Set Button in PluginDocumentSettingPanel Content (WordPress Gutenberg)
- Javascript fetch on wordpress plugins not working