- This topic has 33 replies, 3 voices, and was last updated 6 years, 3 months ago by Leo.
-
AuthorPosts
-
December 22, 2017 at 7:45 am #455258mike
I have a serious situation and can’t solve it, ON MOBILE in all pages when you scroll down – and then you scroll up the headline gets cut off behind the header instead of under it like it should – when i am logged in as admin it doesn’t happen.
December 22, 2017 at 8:48 am #455308LeoStaffCustomer SupportHi there,
I just checked your site with iPhone 6s using Chrome and can’ see the issue.
Can you try clearing your browser cache?
December 22, 2017 at 8:56 am #455312mikeHi,
Cleared all caches
Tried it on ONE PLUS & LG android phones
BTW, i just tried removing sticky and it works fine.
Brought back sticky header in it’s happening again
Will send a screenshot from mobile
Thanks
December 22, 2017 at 9:07 am #455318LeoStaffCustomer SupportYou can upload screenshots to a site like this: https://postimages.org/
and provide the direct links here.
December 22, 2017 at 9:32 am #455326mikeDecember 22, 2017 at 9:51 am #455347TomLead DeveloperLead DeveloperHmm, it’s like the sticky navigation isn’t aware that it’s back at the top of the site.
Do you have a staging site set up so you can make adjustments to the site without affecting the live one? It would be good to remove any navigation-related custom CSS you have added to test.
For example, this site we’re on now is using the mobile header as well, but the sticky navigation classes are removed when the navigation reaches the top of the page.
December 22, 2017 at 10:27 am #455366mikeHi,
I’ve used your method of creating the mobile header with the logo in the middle, i did have to adjust some padding and the logo size so it will look ok because the logo was bigger than the menu, perhaps that did it?
This site is in development, there is not staging site. I only disabled coming soon mode today for testing
U can make changes live.
If needed i will send u the login details now.
I will be in front of a computer in an hour or so.I will try removing all css.
Thanks
December 22, 2017 at 12:06 pm #455438mikeSo,
I have removed my css
#mobile-header .header-image {
height: 100px;
width: 100px;
}#mobile-header {
height: 100px;
}now the sticky works fine but the logo and menu are miniature
any ideas for the proper css?
December 22, 2017 at 4:07 pm #455559LeoStaffCustomer SupportHmm I still see the original CSS being added.
Can you double check?
December 22, 2017 at 4:14 pm #455564mikeplease check again
i was playing around with it in frustraton
December 22, 2017 at 4:25 pm #455570LeoStaffCustomer SupportTry removing:
padding-top: 5px;
in#mobile-header .site-logo { position: absolute; right: calc( 50% - 50px); padding-top:5px; /* 50% from the left - half your image width */ }
Then add this:
@media (max-width: 768px) { .mobile-header-navigation .mobile-header-logo img { padding: 0; } }
Then you can increase the height by increasing navigation height with mobile toggle on:
https://docs.generatepress.com/article/menu-item-height-width/#heightDecember 22, 2017 at 4:36 pm #455575mikeThis made the logo bigger, but i need it to be 100px X 100px along with the header
And if possible, i would like it to shrink on stickyDecember 22, 2017 at 4:41 pm #455578mikeJust remembered i can change primary navigation height on mobile via the customizer
Thanks a bunch!
December 22, 2017 at 4:44 pm #455583mikeA new problem – when increasing the menu height – the drop down menu height gets increased as well…..
December 22, 2017 at 4:55 pm #455587mikefound this!
https://generatepress.com/forums/topic/change-menu-item-height-in-mobile/
Thanks again!!
-
AuthorPosts
- You must be logged in to reply to this topic.