WordPress.org

Forums

Events Manager
[resolved] Can't we edit map size? Which customization guide is correct? (6 posts)

  1. wpmubp
    Member
    Posted 2 years ago #

    I'd like to modify google map size (height) from default 300px to 250px or so. After reading the guide(http://wp-events-plugin.com/documentation/using-template-files/), I've copied locationmap.php to my theme directory. However, changes are never reflected.

    My directory structure:
    wp-content/childthemename/plugins/events-manager/templates/placeholders/locationmap.php

    Also with locationmap.php, I found the following guide which tells exactly the different from your online document.

    This file contains the HTML generated for a single location Google map. You can copy this file to yourthemefolder/plugins/events/templates and modify it in an upgrade-safe manner.

    I tried both method, but none of them worked.

    http://wordpress.org/extend/plugins/events-manager/

  2. agelonwl
    Member
    Posted 2 years ago #

  3. wpmubp
    Member
    Posted 2 years ago #

    This plugin guide could be more kind and helpful, if the latest solution or the true guide is linked from old document pages...anway, thanks.

  4. wpmubp
    Member
    Posted 2 years ago #

    Hi again, I'm having a trouble configuring the CSS. I tried the sample given to my theme's CSS, but size didn't change at all. I also noticed id="em-location-map-xxxx" where xxxx are random numbers and characters change every time the page is loaded, which prevents me to edit CSS...

    What else is needed to make it work?

  5. agelonwl
    Member
    Posted 2 years ago #

    I tried this one and seems to be working fine

    <style>
    .em-location-map, .em-locations-map { width: 300px !important; height: 200px !important; }
    </style>

    I pasted this below <?php wp_head(); ?> in my theme header.php

  6. bartelicious
    Member
    Posted 2 years ago #

    I tried this one and seems to be working fine
    <style>
    .em-location-map, .em-locations-map { width: 300px !important; height: 200px !important; }
    </style>
    I pasted this below <?php wp_head(); ?> in my theme header.php

    This also worked for me...thnx for the solution agelonwl!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Events Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic