So full screen will take a few steps.
1. Create a new menu specifically for the slideout navigation.
2. We need to create a custom exit button. So add a custom link to the menu with these settings:
URL: #
Navigation label: <span class="screen-reader-text">Close</span>
CSS Classes: slideout-exit custom-slideout-exit
3. Add this CSS:
.slide-opened .slideout-exit:before {
display: none;
}
.custom-slideout-exit a {
text-align: center;
}
.custom-slideout-exit a:before {
content: "\f00d";
font-family: GeneratePress;
line-height: 1em;
width: 1.28571429em;
text-align: center;
display: inline-block;
}
.main-navigation.offside {
width: 100%;
}
.offside--right {
right: -100%;
}
.offside--right.is-open, .offside-js--is-right .offside-sliding-element {
-webkit-transform: translate3d(-100%,0,0);
-moz-transform: translate3d(-100%,0,0);
-ms-transform: translate3d(-100%,0,0);
-o-transform: translate3d(-100%,0,0);
transform: translate3d(-100%,0,0);
}
#generate-slideout-menu .slideout-menu li {
text-align: center;
}