Viewing 2 replies - 1 through 2 (of 2 total)
  • I get same error also..

    Try this:

    /* Only needed if you have special CSS for images!
    #content also not needed if replaced with "!important" */
    #content .themeblvd-gmap .gm-style img { box-shadow: none; }
    
    /* Fiddle with marker */
    .themeblvd-gmap .gmap_marker { color: #000; }
    .themeblvd-gmap .gmnoprint img { max-width: none; } /* Fix for zoom img */
    
    /* One and only line of CSS in enqued file from plugin = silly */
    .themeblvd-gmap img { max-width: inherit; }

    May be also update jQuery script from Github https://github.com/marioestrada/jQuery-gMap Check if changes to old version 2.1 are relevant https://github.com/marioestrada/jQuery-gMap/commits/master/jquery.gmap.js

    And may be also not load 1 CSS file and that jQuery file on all pages. Most will only use it on 1 or a few. At least no reason to load a CSS file with only 1 line. Throw that in general CSS file or somewhere else.

    Can do something like this:

    // Themeblvd Map only loaded on page with certain slug
    add_action( 'wp_enqueue_scripts', 'strangle_themeblvd_map' );
    function strangle_themeblvd_map() {
    	remove_action( 'wp_print_styles', 'themeblvd_google_map_css' );
    	wp_dequeue_script( 'gmap' );
    	if ( is_page( 'contact' ) ) {
    		wp_enqueue_script ( 'gmap' );
    	}
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘zoom buttons desappear on big size’ is closed to new replies.