WordPress.org

Ready to get started?Download WordPress

Forums

WP Flexible Map
[resolved] Center Flex Map (3 posts)

  1. ThePieMonster
    Member
    Posted 1 year ago #

    I want to center my map so it's in the middle of the page. I tried centering the text but that didn't work, lol. This is what I have.
    [flexiblemap center="48.38522,-85.348424" width="500" height="400" zoom="15" title="Place" description="Stuff" directions="true" scrollwheel="true"]

    http://wordpress.org/extend/plugins/wp-flexible-map/

  2. ThePieMonster
    Member
    Posted 1 year ago #

    Nevermind I figured it out. I don't no how to delete this so I guess someone else will have too.

  3. webaware
    Member
    Plugin Author

    Posted 1 year ago #

    G'day,

    No need to delete, it's a useful question and someone else might want the answer.

    See this answer on Stack Overflow for how to centre a div within another div:

    http://stackoverflow.com/a/114549/911083

    The map is within a div with class "flxmap-container", so you can target that with CSS.

    Alternatively, you could make the map take up the whole width of its container by giving it width="100%".

    cheers,
    Ross

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags