CP Google Maps
[resolved] Can I change the map margin on individual sides? (2 posts)

  1. lunchbox247
    Posted 2 years ago #

    Is there a way to change the margin of the map on only one side?


  2. codepeople
    Plugin Author

    Posted 2 years ago #


    If you want change the margin of map, in only one side, I recommend you follow steps below:

    - After insert the shortcode: [codepeople-post-map]

    - Press the "text" tabs, in the editor, for entering html tags directly

    - Finally insert a div tag around the shortcode, with a style attribute defining the attributes you want. In the following snippet of code, the width and height of map is 450px, and I want that margin right be 25px:

    <div style="width:450px;heigth:450px;margin-right:25px;">[codepeople-post-map]</div>

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • CP Google Maps
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.