1. PROMO Subscribe our All Access Pass @ 75% OFF & access all our 16+ premium Divi extensions: Divi Block Pro, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Sticky nav covering fullscreen Google Map on mobile

Discussion in 'Basic Support Forum' started by ThemeUser, Sep 19, 2020.

  1. ThemeUser

    ThemeUser Member
    Divi Ultimate Child Theme Divi Powerful Child Theme Divi Ultimate Archive Plugin Divi Ultimate Blog Plugin Divi Ultimate Header Plugin Divi Ultimate Footer Plugin

    I have a Google Map which works perfectly on the desktop. Which is to say that when the user hits the map's fullscreen icon, the map becomes fullscreen by covering the entire viewport. But, on the iPhone, the map will not cover the sticky header/nav. I have tried to set the map's z-index to 10000, but even that does not work.

    Is there a way to tell the mobile sticky header/nav to allow fullscreen elements to cover it when those fullscreen elements are activated? Or, is there a way to tell the map to override the sticky header/nav?

    I will provide the URL for this map in a PM as this is a client site.

    Thanks very much for your continued support.
     
    1. PRO MEMBER PERKS Divi Ultimate Blog Plugin - Easily set awesome default design for your Divi single blog page:Learn More
  2. ThemeUser

    ThemeUser Member
    Divi Ultimate Child Theme Divi Powerful Child Theme Divi Ultimate Archive Plugin Divi Ultimate Blog Plugin Divi Ultimate Header Plugin Divi Ultimate Footer Plugin

    An update: I increased the z-index on the map's Section and Code modules to both be "z-index: 1000000 !important;", but even that does not allow the fullscreen mode of the map to cover the sticky header/nav. I tried this on a new test URL which I have sent in a follow-up PM.
     
  3. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    The google map is within the content div. And your header can only be set to be either above / below the content area. Since you wish to make it sticky, then it should be above the content, including the google map.

    When google map is clicked to be fullscreen, it doesn't add any class to your body CSS class. Thus, you can't utilize that to hide your header behind the google map.

    And so, I believe there's nothing you can do about it.

    You may refer to the google map plugin author & see what they say.
     
    1. PRO MEMBER PERKS Divi Cart Count Plugin - Easily add cart count to your Divi cart icon. 6 different styles to choose from:Learn More
  4. ThemeUser

    ThemeUser Member
    Divi Ultimate Child Theme Divi Powerful Child Theme Divi Ultimate Archive Plugin Divi Ultimate Blog Plugin Divi Ultimate Header Plugin Divi Ultimate Footer Plugin

    Thanks very much for this insight.

    The reason I thought I should check with you about this is that the fullscreen map works perfectly when using Chrome's Developer Tools at mobile viewport size. But, on an actual iPhone, the sticky header stays on top of everything.

    Following your advice, I will also check in with the map plugin developer.

    Thanks again.