Sticky Header on Mobile
-
I changed the position of the header to be sticky. However, the header still was not sticky. So I added the following custom CSS which made the header sticky and it remain sticky when scrolling to the bottom of the page on desktop, but on mobile, the header is only sticky for about a third of the way down the page. Can somebody please help me change the CSS so that the header remains sticky when scrolling all the way down the page on mobile?
header:has(>.is-position-sticky) {
position: fixed;
top: calc(0px + var(–wp-admin–admin-bar–height, 0px));
left: 0;
right: 0;
z-index: 9999;
}The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
You must be logged in to reply to this topic.
