How to remove Google Map

Discussion in 'ClassiCraft WordPress Theme' started by bigbluesquid, Aug 6, 2014.

Thread Status:
Not open for further replies.
  1. bigbluesquid

    bigbluesquid New Member

    Joined:
    Aug 5, 2014
    Messages:
    8
    Likes Received:
    0
    I've tried using the Google map a number of times but it won't set a correct address so I would like to remove it.
    So far I have tried custom CSS in the style.css file, creating custom.css in the theme parent directory, creating a custom.css in a child theme and removing the map div in the code of step1.php in a child theme but none of them has worked.

    The map is not listed in the Custom Fields so I do not know how I can get it removed.
     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Paste this code in Custom CSS
    Settings > Theme Options > Styling Options > Custom CSS

    Code:
     .sidebar .sidebar_map{
    display:none;
    }

    This will solve your issue.


    Thanks & Regards
    Gourav Shrivastava
     
  3. bigbluesquid

    bigbluesquid New Member

    Joined:
    Aug 5, 2014
    Messages:
    8
    Likes Received:
    0
    Hi Gourav,

    Thanks. This has removed the map from the published ads but it still appears in the Post a new ad page.
    Mike
     
  4. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Go to library > view > forms > step1.php present in your theme directory and remove the code given below

    Code:
    <div class="row">
                            <input id="<?php echo $var_name; ?>" type="hidden" name="<?php echo $var_name; ?>" value=""/>                     
                            <?php include_once(LIBRARYPATH . "map/address_map.php"); ?> 
                            <br/>
                            <span class="description"><?php echo stripslashes($des); ?></span>
                        </div> 

    check image for reference

    2014-08-07_1139.png



    This will solve your issue.



    Thanks & Regards
    Gourav Shrivastava
     
  5. bigbluesquid

    bigbluesquid New Member

    Joined:
    Aug 5, 2014
    Messages:
    8
    Likes Received:
    0
    That's great thanks. All gone now.
     
Thread Status:
Not open for further replies.

Share This Page