Very Simple Google Maps
[resolved] Center map on page (3 posts)

  1. denice.staaf@gmail.com
    Posted 2 years ago #


    the map defaults to left and I want to center it. I have tried everything to center it. Is there a way to make it page center? I am using the short code and the address, not CID code.


    If anyone can help I would greatly appreciate it. I have spent way too much time on this tiny detail.


  2. odisey.nfo
    Posted 1 year ago #

    Hi, have you try to use <center>[vsgmap address="street address to display"]</center>

  3. Michael Aronoff
    Plugin Author

    Posted 1 year ago #

    If you look at the FAQ you will also see I wrap the iframe with a css id so you can also use css to do things like this.

    .vsg-map iframe { margin-left: auto; margin-right: auto; width: 400px }

    Note that the width should either be 400px which is the plugin default or match what you use in the shortcode.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Very Simple Google Maps
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.