hello, sorry if this is in the wrong forum.
i am using kleo theme and the developer said i can add the following functions to have my listing and search maps full width.
add_action(‘kleo_before_content’,’add_map’);
function add_map() {
if (is_post_type_archive() && in_array(get_post_type(), geodir_get_posttypes())) {
echo do_shortcode(‘[gd_listing_map width=100% height=350 scrollwheel=false]’);
}
}
add_action(‘kleo_before_content’,’add_search_map’);
function add_search_map() {
if (geodir_is_page(‘search’) || is_post_type_archive() && in_array(get_post_type(), geodir_get_posttypes())) {
echo do_shortcode(‘[gd_listing_map width=100% height=350 autozoom=true scrollwheel=false]’);
}
}
this seems to work but has lost the bouncing pin, can this be adjusted to maintain the pin bounce?
thanks brian