Disable Map Pop-Up Bubble (when clicking on Results in list)

Home Forums Store Locator Plus Disable Map Pop-Up Bubble (when clicking on Results in list)

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  Cici 1 year, 9 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #27964

    Rachael
    Participant

    If you click anywhere within the “results_wrapper” div, the location’s map bubble pops-up. I need to stop it from doing that. I still need the map bubbles to appear when you click on the map marker though.

    #28344

    Cici
    Keymaster

    Hi Rachael: Looking through the results setting panels, including the enhanced results add-on, I don’t see a way to do this.

    Depending on what you want, you may be able to it with CSS. I added this to the WP custom CSS (WP Dashboard>Appearance>Edit CSS)

    .results_wrapper {

    pointer-events: none;

    }

    That made everything in the under-map results unclickable. It may not be exactly what you want, but its a direction to investigate.

    I’m not a CSS expert. I’d be interested to learn what you find out.

    #28345

    Cici
    Keymaster

    Update: I’ve added a couple more CSS lines to keep the desired links active. That should get you started. I’ve not tested it extensively, but it looks promising:

     

    .results_wrapper {

    pointer-events: none;

    }

     

    .storelocatorlink {

    pointer-events: auto;

    }

     

    .slp_result_contact {

    pointer-events: auto;

    }

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

You must be logged in to reply to this topic.