JSFiddle - React, Tailwind, and code Playground
HTML
<header class="header">
<nav>
<div id="nav-one">
<?php wp_nav_menu( array( 'theme_location' => 'social-menu' , 'container_class' => 'bmenu' )); ?>
</div>
</nav>
<div id="header-inner">
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/logo.png" alt="logo">
</div>
</header>
<div id="main">
<article id="main-content">
<div id="iframe">
<iframe name="background" src="http://examplewebsite.com/Home" frameborder="0" ><p>Your browser does not support iframes.</p></iframe>
</div>
</article>
</div>
<footer>
<nav>
<div id="nav-one">
<?php wp_nav_menu( array( 'theme_location' => 'footer-menu' , 'container_class' => 'cmenu' )); ?>
</div>
</nav>
</footer>
<?php wp_footer(); ?>
CSS
body {
margin: 0;
padding: 0;
color: white;
}
header {
padding: 0.7%;
z-index: 1;
position: absolute;
}
.bmenu li{
display: inline-block;
}
.bmenu img{
height: 75px;
}
#nav-one ul{
float: left;
}
#nav-one li{
display: inline-block;
}
#header-inner img{
margin-left: auto;
margin-right:auto;
width: 300px;
height: auto;
}
.cmenu li{
display: inline-block;
padding: 20px 50px;
}
.cmenu ul{
margin-left: 15%;
margin-top: 32%;
width: 100%;
z-index: 1;
position: fixed;
}
iframe:first-child {
opacity: .99;
}
iframe {
position: fixed;
z-index: -1;
min-width: 100%;
min-height: 100%;
float: left;
}
footer{
width: 100%;
overflow: hidden;
z-index: 1;
position: fixed;
}