Trouble with Alignment and Text Wrap

Home Forums MapPress Support Trouble with Alignment and Text Wrap

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #14765
    aeconcept
    Participant

    Hi, I recently installed the plugin for my wordpress site but I am having trouble tweaking the alignment.
    I want to put the two maps on the right side but both maps are still on the same line. http://www.aeandrhea.com/?page_id=471

    What code would I use to get both maps on the right with one underneath the first instead of both on top?

    Secondly, I am trying to get the text to wrap around the map on the left side but it’s always one line above to the top left. What code would I need for that one?

    Thanks for your time.
    -Al

    #14766
    Chris
    Keymaster

    Hi,

    This is a CSS question, so the solution may depend on your theme. I think you want to show two maps on the right and wrap the text around them?

    If so, one way to do it is to place both maps in a containing div and float that div right. Don’t set alignment in the map shortcodes – the div will take care of floating them. Output the text after that div.

    Here’s an example – enter it in the HTML tab of the WordPress editor. It outputs the same map twice but you can adjust the shortcodes as needed:

    <div style="float:right">
    [mappress width="200px"]
    [mappress width="200px"]
    </div>
    <p>the quick brown</p>
    <p>fox jumped over the</p>
    <p>lazy dog</p>
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.