Title: Booking.com Map Widget
Last modified: April 6, 2020

---

# Booking.com Map Widget

 *  [afuncouple](https://wordpress.org/support/users/afuncouple/)
 * (@afuncouple)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/booking-com-map-widget/)
 * Hello,
    I am using the Map Widget from Booking.com on my website. It works very
   well and look perfect on the desktop version, however on the mobile version more
   than half of the widget is cut and not showing. I’ve tried to use shortcode via
   the booking.com plugin or I copy/paste their code in the custom HTML on my blog
   page.
 * Here is an example (see toward the bottom of the page); [http://www.afuncouple.com/santabarbara](http://www.afuncouple.com/santabarbara)
 * When generating the code from Booking.com affiliate page I made sure to choose
   the responsive option. However it still doesn’t seem to work…
 * Any idea how I could fix this?
 * Here is the HTLM code for reference:
 * 
    <!– Anything inside will go away once widget is loaded. –> Booking.com  <script
   type=”text/javascript”> (function(d, sc, u) { var s = d.createElement(sc), p 
   = d.getElementsByTagName(sc)[0]; s.type = ‘text/javascript’; s.async = true; 
   s.src = u + ‘?v=’ + (+new Date()); p.parentNode.insertBefore(s,p); })(document,‘
   script’, ‘//aff.bstatic.com/static/affiliate_base/js/flexiproduct.js’); </script
   >
 * Thanks in advance,
    Guillaume
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fbooking-com-map-widget%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [SPBooking.com](https://wordpress.org/support/users/sp-bookingcom/)
 * (@sp-bookingcom)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/booking-com-map-widget/#post-12801121)
 * Hi there,
 * although this is not the right section for Map widget support, We can notice 
   there is a missing part form your code:
 * you should have an `ins` tag before the script.
    Just let us know if this solves.
 * Thanks for using our product and for reaching out us!
    Have a nice and safe weekend.

Viewing 1 replies (of 1 total)

The topic ‘Booking.com Map Widget’ is closed to new replies.

 * ![](https://ps.w.org/bookingcom-official-searchbox/assets/icon-128x128.png?rev
   =1134398)
 * [Booking.com Official Search Box](https://wordpress.org/plugins/bookingcom-official-searchbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bookingcom-official-searchbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bookingcom-official-searchbox/)
 * [Active Topics](https://wordpress.org/support/plugin/bookingcom-official-searchbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bookingcom-official-searchbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bookingcom-official-searchbox/reviews/)

## Tags

 * [booking.com](https://wordpress.org/support/topic-tag/booking-com/)
 * [html](https://wordpress.org/support/topic-tag/html/)
 * [widget](https://wordpress.org/support/topic-tag/widget/)

 * 1 reply
 * 2 participants
 * Last reply from: [SPBooking.com](https://wordpress.org/support/users/sp-bookingcom/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/booking-com-map-widget/#post-12801121)
 * Status: not resolved