Top

Change the Website Text

Add this in the Page Footer HTML text box of the Store Locator app.

Method 1

<script>
$('#store_map').click(function(){
setTimeout(function(){
$('.website a').text('Visit Website');
}, 100);
});
</script>

Method 2

<script> 
var website_link_text = 'Visit Website';

function fixURLS(){
    var websites = jQuery(".addresses .store_website a");
    for(i=0; i<websites.length; i++){
       jQuery(websites[i]).text(website_link_text);
   }
}

$('#store_map, #addresses_list a').click(function(){
setTimeout(function(){
$('.website a').text(website_link_text);
}, 300);
}); </script>
Have more questions? Submit a request