Removing Get Directions on detail Map

This topic contains 2 replies, has 2 voices, and was last updated by  VT 7 years, 8 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #264900

    VT
    Full Member
    Post count: 65

    Greetings!

    We have implemented the get directions with google maps link (https://wpgeodirectory.com/docs/linking-to-google-maps-from-a-detail-page/) and now would like to remove the native “Enter your Location” and “Get Directions” field and button on the Listing Detail Page > Map tab.

    Is this possible?
    And if so, how do we accomplish that?

    Thanks!

    #264944

    Kor
    Moderator
    Post count: 16516

    Hi VT,

    You can use custom CSS to remove that. Try the code below and see if it works for you. Insert into GD > Design > Script > Custom Style CSS.

    
    
    input#detail_page_map_canvas_fromAddress,
    input#directions {
        display:none;
    }
    #265039

    VT
    Full Member
    Post count: 65

    Excellent thank you!

Viewing 3 posts - 1 through 3 (of 3 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket