Safari doesn't seem to recognize z-index property

Currently, I am utilizing a responsive template to develop a website. An issue arises in Safari where the footer overlaps the navigation bar at the bottom of the page, despite being positioned above it earlier. It appears that the z-index attribute is not functioning properly. This problem is unique to Safari and does not occur in Chrome or Firefox when viewed on mobile resolutions (portrait).

This error is specific to Safari only; it works fine in Chrome and Firefox.

I have attempted various approaches to solve this issue without success. Your assistance would be greatly appreciated :) Thank you

Edit:

The Navbar setup in index.html is as follows:

<!-- PAGE -->
<div id="page">

    <!-- HEADER -->
    <header>

        <!-- MENU BLOCK -->
        <div class="menu_block">

            <!-- CONTAINER -->
            <div class="container clearfix">

                <!-- LOGO -->
                <div class="logo pull-left">
                    <a href="index.html" ><span class="b1">w</span><span class="b2">h</span><span class="b3">i</span><span class="b4">t</span><span class="b5">e</span></a>
                </div><!-- //LOGO -->

                <!-- SEARCH FORM -->
                <div id="search-form" class="pull-right">
                    <form method="get" action="#">
                        <input type="text" name="Search" value="Search" onFocus="if (this.value == 'Search') this.value = '';" onBlur="if (this.value == '') this.value = 'Search';" />
                    </form>
                </div><!-- SEARCH FORM -->

                <!-- MENU -->
                <div class="pull-right">
                    <nav class="navmenu center">
                        <ul>
                            <li class="first active scroll_btn"><a href="#home" >Home</a></li>
                            <li class="scroll_btn"><a href="#about" >About Us</a></li>
                            <li class="scroll_btn"><a href="#projects" >Projects</a></li>
                            <li class="scroll_btn"><a href="#team" >Team</a></li>
                            <li class="scroll_btn"><a href="#news" >News</a></li>
                            <li class="scroll_btn last"><a href="#contacts" >Contacts</a></li>
                            <li class="sub-menu">
                                <a href="javascript:void(0);" >Pages</a>
                                <ul>
                                    <li><a href="blog.html" >Blog</a></li>
                                    <li><a href="blog-post.html" >Blog Post</a></li>
                                    <li><a href="portfolio-post.html" >Portfolio Single Work</a></li>
                                </ul>
                            </li>
                        </ul>
                    </nav>
                </div><!-- //MENU -->
            </div><!-- //MENU BLOCK -->
        </div><!-- //CONTAINER -->
    </header><!-- //HEADER -->

The Footer layout in index.html is outlined below:

    <!-- FOOTER -->
<footer>

    <!-- CONTAINER -->
    <div class="container">

        <!-- ROW -->
        <div class="row" data-appear-top-offset="-200" data-animated="fadeInUp">

            <div class="col-lg-4 col-md-4 col-sm-6 padbot30">
                <h4><b>Featured</b> posts</h4>
                <div class="recent_posts_small clearfix">
                    <div class="post_item_img_small">
                        <img src="images/blog/1.jpg" alt="" />
                    </div>
                    <div class="post_item_content_small">
                        <a class="title" href="blog.html" >As we have developed a unique layout template</a>
                        <ul class="post_item_inf_small">
                            <li>10 January 2014</li>
                        </ul>
                    </div>
                </div>
                <div class="recent_posts_small clearfix">
                    <div class="post_item_img_small">
                        <img src="images/blog/2.jpg" alt="" />
                    </div>
                    <div class="post_item_content_small">
                        <a class="title" href="blog.html" >How much is to develop a design for the game?</a>
                        <ul class="post_item_inf_small">
                            <li>14 January 2014</li>
                        </ul>
                    </div>
                </div>
                <div class="recent_posts_small clearfix">
                    <div class="post_item_img_small">
                        <img src="images/blog/3.jpg" alt="" />
                    </div>
                    <div class="post_item_content_small">
                        <a class="title" href="blog.html" >How to pump designer</a>
                        <ul class="post_item_inf_small">
                            <li>21 December 2013</li>
                        </ul>
                    </div>
                </div>
            </div>

            <div class="col-lg-4 col-md-4 col-sm-6 padbot30 foot_about_block">
                <h4><b>About</b> us</h4>
                <p>We value people over profits, quality over quantity, and keeping it real. As such, we deliver an unmatched working relationship with our clients.</p>
                <p>Our team is intentionally small, eclectic, and skilled; with our in-house expertise, we provide sharp and</p>
                <ul class="social">
                    <li><a href="javascript:void(0);" ><i class="fa fa-twitter"></i></a></li>
                    <li><a href="javascript:void(0);" ><i class="fa fa-facebook"></i></a></li>
                    <li><a href="javascript:void(0);" ><i class="fa fa-google-plus"></i></a></li>
                    <li><a href="javascript:void(0);" ><i class="fa fa-pinterest-square"></i></a></li>
                    <li><a href="javascript:void(0);" ><i class="map_show fa fa-map-marker"></i></a></li>
                </ul>
            </div>

            <div class="respond_clear"></div>

            <div class="col-lg-4 col-md-4 padbot30">
                <h4><b>Contacts</b> Us</h4>

                <!-- CONTACT FORM -->
                <div class="span9 contact_form">
                    <div id="note"></div>
                    <div id="fields">
                        <form id="contact-form-face" class="clearfix" action="#">
                            <input type="text" name="name" value="Name" onFocus="if (this.value == 'Name') this.value = '';" onBlur="if (this.value == '') this.value = 'Name';" />
                            <textarea name="message" onFocus="if (this.value == 'Message') this.value = '';" onBlur="if (this.value == '') this.value = 'Message';">Message</textarea>
                            <input class="contact_btn" type="submit" value="Send message" />
                        </form>
                    </div>
                </div><!-- //CONTACT FORM -->
            </div>
        </div><!-- //ROW -->
    </div><!-- //CONTAINER -->
</footer><!-- //FOOTER -->

The style.css includes the following styling for the elements:

Footer:

footer {
  overflow:hidden;
  position:fixed;
  bottom:0;
  left:50%;
  opacity:0;
  width:100%;
  padding:60px 0 10px;
  color:#999;
  background-color: #1c1c1c;
  transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  z-index:1;
}

Menu_block:

.menu_block {
  position: fixed;
  z-index:9999;
  left:0;
  top:0;
  right:0;
  height:80px;
  width:100%;
  background-color:#fff;
  box-shadow:0 2px 3px rgba(0,0,0,0.1);
}

Answer №1

Why does it vanish? It vanishes because you have designated #slidebox to be hidden using the CSS property display: none; within your stylesheet. Simply eliminate the display: none; declaration.

Answer №2

Have you experimented with implementing z-index on both the navigation bar and footer? This tactic typically resolves any display issues across various browsers.

Ensure that the z-index value of the footer remains lower than that of the navigation bar consistently.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Choosing the right framework for implementing push notifications can be a critical decision. Should

I am currently working on a Java application that requires the server to send push notifications to the client every one second. To achieve this, I am using HTML5 server-sent events for one-way communication from the server to the client. However, my conce ...

Having difficulty with adding a floating button to a Django template

I have been attempting to create a floating button similar to the one demonstrated in this video. Unfortunately, I am encountering difficulties in replicating the same effect while trying to incorporate it into one of my Django templates. Below is the HTM ...

The arrangement of pictures on a card

I decided to tweak the original concept by placing the images inside a Bootstrap card. However, the end result is that the images appear to be floating. https://i.stack.imgur.com/Uf721.png Any suggestions on how to make them fit nicely within the card? ...

Class Background Imagery

Currently leveraging Wpbakery for my website design. Seeking to apply the FadeInUp animation solely to the background image rather than the entire row. Any suggestions on accomplishing this? Is there a method to assign a class solely to the background i ...

span element failed to trigger onload event

I'm encountering a basic issue with my code as a beginner. Below is the HTML snippet: <!DOCTYPE html> <html> <head> <meta http-equiv='content-type' content='text/html; charset=utf8' /> <scrip ...

Ways to adjust the brightness of any color when hovered over

Is it possible to create a universal effect where an element becomes darker or lighter when hovered over, regardless of the initial color? Here is an example: .change-color{ Background:green; width:100px; height:100px } .change-color:hover{ Background ...

Display MQTT information on a Django template

I've been utilizing paho-MQTT successfully to receive messages. However, I'm facing a challenge in displaying the received data in a template. Below is an excerpt of my code: import paho.mqtt.client as mqtt import json def on_connect(client, use ...

Transform the appearance of a complex image by altering its color using CSS

In my quest to bring a unique functionality to life, I am looking to achieve the following: I want to layer two transparent images within a <div>: one representing an object and the other depicting a glowing effect around the object. When hovering ...

What is the best way to improve the design of this division that includes buttons?

I'm having trouble with the layout of three divs I have set up. One acts as a container, while the other two are meant to hold buttons. However, something seems off and I can't figure out how to correct it. .button { display: inline-block; ...

Searching for an attribute with no value in an HTML tag using Selenium: A step-by-step guide

Example: Radio - selected <input id="rdo" type="radio" name="nrdo" value="1" checked> Example: Radio - not selected <input id="rdo" type="radio" name="nrdo" value="1"> Searching for attributes without values in HTML tags using Selenium. ...

What benefits does React offer that jQuery does not already provide?

What sets ReactJS apart from jQuery? If jQuery can already handle everything, why should we use React? I've tried to research on Google but still don't have a clear answer. Most explanations focus on terms like "views," "components," and "state" ...

angular trustAsHtml does not automatically insert content

Two divs are present on the page. Upon clicking button1, an iframe is loaded into div1. The same applies to button2 and div2. These iframes are loaded via ajax and trusted using $sce.trustAsHtml. This is how the HTML looks: <div ng-bind-html="video.tru ...

Which specific transitionend (or animationend) event should I use for this application?

I'm feeling a bit lost when it comes to using transitionend (or if I should be using animationend in this scenario). I'm not sure whether to utilize var, node, or box. Essentially, I am a complete beginner in this case. My goal is to have my div ...

Utilizing BeautifulSoup to Extract Links

Currently, I am extracting cricket schedules from a specific website using Python's Beatiful Soup library. The webpage I am scraping corresponds to the following URL: www.ecb.c0.uk/stats/fixtures-results?m=1&y=2016 This particular link displays ...

Styling Your Navigation Bar with CSS and Active States

Creating an interactive navigation element for a menu can be challenging, but here's a helpful example. http://jsfiddle.net/6nEB6/38/ <ul> <li><a href="" title="Home">Home</a></li> <li class="activ ...

jQuery form validation not functioning as expected

I'm attempting jQuery form validation but encountering issues with the desired functionality. I would like the border of an input to turn red when it's empty upon focus out. Alternatively, I aim to incorporate the "has-danger" bootstrap class to ...

Keep scrolling! There's no need to worry about reaching the end of the page and having to start over

I'm experiencing an issue where scrolling only works once when the page is initially loaded. I need it to be able to repeat from the beginning each time. <div class="content"> <div class="next-section blue">First Section</div> & ...

Iterating through an array with ngFor to display each item based on its index

I'm working with an ngFor loop that iterates through a list of objects known as configs and displays data for each object. In addition to the configs list, I have an array in my TypeScript file that I want to include in the display. This array always ...

What strategies can I employ to prevent my div tags from shifting positions relative to each other?

I spent time formatting a div tag for my main content and then placed that div inside another wrapper div. However, when I tried to add my logo to the site, everything shifted. It appeared as though the div containing the logo had pushed the wrapper down. ...

What steps can I take to properly position my child element within its parent container?

Is there a way to adjust the width of a child element so it fits snugly inside its parent div? The width should be contained within the padding area. The top and left placement is correct, but the right side needs adjustment. Check out this link for refe ...