Title: Problem in sizing
Last modified: September 12, 2020

---

# Problem in sizing

 *  Resolved [doomdaysam](https://wordpress.org/support/users/doomdaysam/)
 * (@doomdaysam)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/problem-in-sizing/)
 * Hello, first of all, great plugin. Second: I try to fit travelers map in a sidebar(
   widget or builder module doesn’t matter which way) if i use the simple cote [
   travelers-map] i see something like a looooong div with top and bottom space 
   empty. But if i use a shortcode supposed to give map dimension like [travelers-
   map width=300 height=300 init_maxzoom=1] i see hust a little strip (50 or 30 
   px high). Do i miss something??
    Thankyou, and again, great work!

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

 *  Plugin Author [Camille V](https://wordpress.org/support/users/socrapop/)
 * (@socrapop)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/problem-in-sizing/#post-13396042)
 * Dear [@doomdaysam](https://wordpress.org/support/users/doomdaysam/),
 * As stated in the shortcode helper page:
 * > Any valid CSS unit is accepted, although px and vh are recommended. Exemple:`
   > 500px` or `25vh`
 * You should state the unit for your width and height 😉
    So, your shortcode must
   be [travelers-map width=300px height=300px init_maxzoom=1]
 * Then, the loooong div with bottom and top space empty, with a grey background,
   is simply because the map is zoomed out, and is smaller than the div. If you 
   set the initial zoom to 1 and if you have a square container, you will have grey
   borders because the earth map is not a square 😉
 *  Thread Starter [doomdaysam](https://wordpress.org/support/users/doomdaysam/)
 * (@doomdaysam)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/problem-in-sizing/#post-13396366)
 * ok, thats it. Another question… (they always ask for more, lol!) I will need 
   to see on the global map [travelers-map] only the last 10 post pubblished. There
   can be a trick to do that?
 *  Plugin Author [Camille V](https://wordpress.org/support/users/socrapop/)
 * (@socrapop)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/problem-in-sizing/#post-13399226)
 * Mh, no there is no trick for that, the plugin is not able to do that for now.
 * But I’m adding it to my long to-do list 😉 (don’t wait for the update, I’m pretty
   busy right now :/)

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

The topic ‘Problem in sizing’ is closed to new replies.

 * ![](https://ps.w.org/travelers-map/assets/icon-256x256.jpg?rev=2100131)
 * [Travelers' Map](https://wordpress.org/plugins/travelers-map/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/travelers-map/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/travelers-map/)
 * [Active Topics](https://wordpress.org/support/plugin/travelers-map/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/travelers-map/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/travelers-map/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Camille V](https://wordpress.org/support/users/socrapop/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/problem-in-sizing/#post-13399226)
 * Status: resolved