Title: Interactive Javascript map won&#8217;t appear in mobile theme
Last modified: September 13, 2017

---

# Interactive Javascript map won’t appear in mobile theme

 *  Resolved [NiallASD](https://wordpress.org/support/users/niallasd/)
 * (@niallasd)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/interactive-javascript-map-wont-appear-in-mobile-theme/)
 * Hi all,
 * I created an interactive map using Raphaël JS and although it appears on desktops
   it doesn’t on mobiles – I am using a customised version of the Jetpack mobile
   theme.
 * The map appears toward the bottom of [this page](http://greencastleparish.com/wordpress/).
 * [http://greencastleparish.com/wordpress/wp-content/themes/greencastleparish/js/raphael.js](http://greencastleparish.com/wordpress/wp-content/themes/greencastleparish/js/raphael.js)
 * [http://greencastleparish.com/wordpress/wp-content/themes/greencastleparish/js/map.js](http://greencastleparish.com/wordpress/wp-content/themes/greencastleparish/js/map.js)
 * Can anyone help out please?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Finteractive-javascript-map-wont-appear-in-mobile-theme%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [NiallASD](https://wordpress.org/support/users/niallasd/)
 * (@niallasd)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/interactive-javascript-map-wont-appear-in-mobile-theme/#post-9503035)
 * Anybody?
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [8 years, 8 months ago](https://wordpress.org/support/topic/interactive-javascript-map-wont-appear-in-mobile-theme/#post-9536251)
 * Sorry about the delay in writing back to you.
 * Since you’ve added that feature to your theme, it loads only when your theme 
   is loaded; if another theme is being used, your theme files aren’t loaded at 
   all.
 * When your mobile readers land on your site, only Jetpack’s mobile theme loads,
   not your desktop theme.
 * To solve this issue, you will consequently need to move your code to a plugin,
   so the code can be loaded on your site regardless of the theme you are using.
 * I hope this clarifies things a bit.
 *  Thread Starter [NiallASD](https://wordpress.org/support/users/niallasd/)
 * (@niallasd)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/interactive-javascript-map-wont-appear-in-mobile-theme/#post-9536267)
 * Thanks Jeremy

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Interactive Javascript map won’t appear in mobile theme’ is closed to
new replies.

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [js](https://wordpress.org/support/topic-tag/js/)
 * [map](https://wordpress.org/support/topic-tag/map/)
 * [svg](https://wordpress.org/support/topic-tag/svg/)

 * 3 replies
 * 2 participants
 * Last reply from: [NiallASD](https://wordpress.org/support/users/niallasd/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/interactive-javascript-map-wont-appear-in-mobile-theme/#post-9536267)
 * Status: resolved