gcwp
Forum Replies Created
-
that is worse!
Geoff
sorry! I copied your code with your comments and forgot to add the css!
Have done it now and cleared cache – this is what I see portrait iphone.
Perhaps best that can be done? On PC and ipad see more of the person ..
Geoff
excellent !
Cheers
Geoff
that’s the view I get on my PC and landscape ipad.
This is what I see with the iphone, portrait view. I have cleared the caches on both PC and iphone.
Cheers
Geoff
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; } }- This reply was modified 9 years, 6 months ago by Steven Stern (sterndata).
- This reply was modified 9 years, 6 months ago by Steven Stern (sterndata). Reason: put code in backticks
OK – I thought that since the problem is with the iPhone view it should go in the media query – why not?
Geoff
Andrew
I put the following into
@media screen and (max-width: 767px) {
This correct? On the iphone portrait view it does show a little more of the left hand side of the pic on the front page but not as much as is seen in the landscape view. Is this to be expected?
Geoff
.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;
}into
Thanks Andrew – will take a look.
Geoff
Andrew
Confused! That pic has both the PC type of nav list at the top and the Menu icon at the side – is this the view using a PC or iphone or both? Where would the list using the Menu icon appear?
Geoff
Forum: Themes and Templates
In reply to: [Twenty Seventeen] menu icon iphone not working?!will follow your link!
Geoff
Forum: Themes and Templates
In reply to: [Twenty Seventeen] menu icon iphone not working?!Andrew
‘afraid I posted before I read your Suggestion: idea …
Cheers
Geoff
Forum: Themes and Templates
In reply to: [Twenty Seventeen] menu icon iphone not working?!Andrew
OK – will do – and again many thanks for your patience and help!
Cheers
Geoff
Forum: Themes and Templates
In reply to: [Twenty Seventeen] menu icon iphone not working?!It just seems strange that by design what a user sees is a Menu icon with a cross next to it.
When I first saw that I thought the cross indicated an error of some kind and only by chance did I later scroll down and see the list of menu items!
Is there a process for me to bring this to those involved in the design of the theme?
Cheers
Geoff
Forum: Themes and Templates
In reply to: [Twenty Seventeen] menu icon iphone not working?!why so if the list of menu items is below the fold?
Geoff
Forum: Themes and Templates
In reply to: [Twenty Seventeen] menu icon iphone not working?!Andrew
have removed all the css in the child theme and this is the screen view.
bug or design?
Geoff