WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. lunchbox247
    Member
    Posted 8 months ago #

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

    http://wordpress.org/plugins/codepeople-post-map/

  2. codepeople
    Member
    Plugin Author

    Posted 8 months ago #

    Hi,

    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>

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.