Andrew
I put it outside the media query but could see no difference to the iphone portrait view, it looked the same as when the css was inside the media query!
Anyway, it is now back inside the media query!
Cheers
Geoff
PS if you ever have the time I would really appreciate your adding a line to each of the blocks of the css you gave me before, ie the css re moving the Media icon to the top of the page etc. This would help me to better understand what it is doing …
@media screen and (max-width: 767px) {
.has-header-image .custom-header-media img,
.has-header-video .custom-header-media video,
.has-header-video .custom-header-media iframe,
.has-header-image:not(.twentyseventeen-front-page):not(.home) .custom-header-media img {
height: auto;
position: relative;
}
.navigation-top,
#masthead .wrap {
position: static;
}
.site-branding,
.custom-header-media {
z-index: 0;
}
.main-navigation {
left: 10%;
position: absolute;
top: 0;
width: 80%;
z-index: 1;
}
.main-navigation ~ a {
display: inline-block;
margin-top: 10px;
}
html .colors-custom.navigation-top .menu-toggle,
html .navigation-top .menu-toggle {
background: white;
color: red;
float: right;
margin-top: 1em;
z-index: 1;
}
.menu-menu-1-container {
clear: both;
}
html .colors-custom .menu-toggle:focus,
html .menu-toggle:focus {
background: white;
outline-color: black;
}
}