WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery geo
[resolved] 2 different map sizes (5 posts)

  1. kamaradski
    Member
    Posted 1 year ago #

    Hi,

    I just installed your geo plugin, and i must say i'm very much impressed !!

    Thank you for your great work !

    Now i would like to create 1 page with a very large map, while keeping the standard map as included in my galleries slightly smaller, how would i specify this in WP?

    Should i include some CSS formatting in the map-page ?

    KR
    kamaradski

    http://wordpress.org/extend/plugins/nextgen-gallery-geo/

  2. frest.de
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, thats it.
    You can add height and width informations for the map div class, called "ngg_geo_map".

  3. kamaradski
    Member
    Posted 1 year ago #

    Ok cheers man that worked :)

    For everyone else here is what i did:

    <style type="text/css">
    .ngg_geo_map { height:600px; width:100%; }
    </style>

    You can add this inside of your post where you display the map.

    KR
    kamaradski

  4. kamaradski
    Member
    Posted 1 year ago #

    Hi,

    I just updated to the latest stable version, however the worldmap appairs not to be working anymore ?

    What i have on my page:

    <style type="text/css">
    .ngg_geo_map { height:600px; width:100%; }
    </style>
    <center>[nggg worldmap]</center>

    Thanks,
    Kamaradski

  5. kamaradski
    Member
    Posted 1 year ago #

    Ok fixed it, i wasn't aware of the recent changes

    So for the rest of you that used my above examples:

    the CSS is now not working anymore, so this can be deleted from the page showing the worldmap.

    And the shortcode option changed. In order to have the same map settings you will need to add the following shortcode:

    [nggg map_height=600px map_width=100% worldmap=1]

    I like it, it's a lot better configurable like this.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.