Support » Plugin: WP GPX Maps » Map showing over sticky header: add z-value

  • Resolved Will Pom

    (@wi77p0m)


    Have sticky header (nav) on my site. The map, but not graph, scrolls over it. Is this a z-value thing?

    Any advice to add a z-value to the map code to stop it?

    Thanks

    • This topic was modified 7 months, 1 week ago by Will Pom.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Will Pom

    (@wi77p0m)

    z-index, not value…

    Will Pom

    (@wi77p0m)

    OK. I dived in to figure things out through trial and error.

    Editting the z-index in the wp-gpx-maps.php had no effect.

    So I added in the theme’s Additional CSS

    wpgpxmap {
      position: absolute;
      right: 0px;
      top: 0px;
      width: 66.6%;
      z-index: -1;
    }

    *position parameters specific to my layout

    Then added <wpgpxmap>[shortcode]</wpgpxmap> using the code editor for page/post.
    **This is actually then copied into an event page format for the Events Manager plugin I use.

    • This reply was modified 7 months ago by Will Pom.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Map showing over sticky header: add z-value’ is closed to new replies.