• Resolved lucabartoli

    (@lucabartoli)


    Sometimes, there are some max-width:100% applied to imgs, especially using commercial templates. This corrupts all controls in your pronamic map.

    To solve, i wrote this (yes you can merge them):

    /* =Maps fix
    -------------------------------------------------------------- */
    .pgm img, .pgm input, .pgm button, .pgm textarea {
        max-width: none;
    }
    .pgmm img, .pgmm input, .pgmm button, .pgmm textarea {
        max-width: none;
    }

    http://ww.wp.xz.cn/extend/plugins/pronamic-google-maps/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi lucabartoli

    I’m using one of this commercial theme (elegant) and the display of the controls are indeed corrupted on my maps.

    I put your css in the theme css file (with important) and in a css file called fix in the plugin files but it didn’t help. 😉

    any other ideas ?
    thanks in advance
    cheers

    ps : curiously, when I display the map with php code in my template, the controls are ok

    Thread Starter lucabartoli

    (@lucabartoli)

    Hi Lsm_267,
    did you check your rules are applied? Maybe some other rules are overrididing them.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘max-width:100% corrupts map controls’ is closed to new replies.