- This topic has 31 replies, 5 voices, and was last updated 6 years, 8 months ago by
Leo.
-
AuthorPosts
-
April 26, 2019 at 12:43 pm #880826
David
StaffCustomer SupportYou can ignore them – the WP Additional CSS doesn’t parse some of the newer CSS features.
April 27, 2019 at 12:45 pm #881690Gerhard
David,
header and menu are sticky now, but there is one strange thing: On pages built with elementor the contents scroll in front of the header and the menu (cf. start page). Whereas on pages built with the the classic wordpress editor the scrolling is correct, i.e. header and menu stay in the foreground, contents disappear behind when scrolling (cf. “Datenschutz”; “Impressum”).
I checked the difference with another test page using elementor, the result is the same.
Currently I have deactivated the css code due to the issue.Gerhard
April 27, 2019 at 3:12 pm #881757Tom
Lead DeveloperLead DeveloperHard for me to tell without seeing the issue, but try this as your CSS:
.custom-fixed-header { position: -webkit-sticky; position: sticky; top: 0; z-index: 999; }April 28, 2019 at 5:19 am #882095Gerhard
Thanks a lot. It works!
But the mobile view is unacceptable as the sticky header now covers most of the screen. I should have thought about that. Sorry.
I suggest making only the main navigation sticky and let the logo and the text widgets disappear when scrolling.
Sorry for bothering you again.April 28, 2019 at 6:00 am #882113David
StaffCustomer SupportSo you want only the nav to be sticky on mobile? What about on desktop do you still want both header and nav to stick?
April 29, 2019 at 5:24 am #883041Gerhard
On mobile as well as on desktop the nav should be sticky, nothing else.
April 29, 2019 at 6:13 am #883089David
StaffCustomer SupportYou can simply use the Sticky Navigation option in Customizer > Layout > Sticky Navigation.
Then this:
https://generatepress.com/forums/topic/how-can-i-create-a-fixed-top-bar-header-and-top-menu/#post-880684Is not required.
April 29, 2019 at 2:24 pm #883695Gerhard
Thanks a lot, David. Everything is fine now.
April 29, 2019 at 4:51 pm #883759David
StaffCustomer SupportGlad to be of help
July 15, 2019 at 1:11 pm #958658Stephan
Hi,
I´d like to reopen this topic. I want to make the navigation (top of the side) sticky but there is no menu as you mention Customizer > Layout > Sticky Navigation.
July 15, 2019 at 1:14 pm #958664Stephan
Sorry, found it. Translation issue
July 15, 2019 at 1:14 pm #958665Leo
StaffCustomer SupportAwesome 🙂
July 15, 2019 at 1:18 pm #958666Stephan
It now works besides the start main page. any clues?
July 15, 2019 at 1:25 pm #958675Stephan
After some debugging it works on the english site but not on the main german site (wpml)
July 15, 2019 at 1:26 pm #958676Stephan
It is not a cache topic as I checked on chrome and IE in parallel
-
AuthorPosts
- You must be logged in to reply to this topic.