Reply To: The mobile version menu bar cannot be displayed along with the page scrolling.

Support Forums › Kampina › The mobile version menu bar cannot be displayed along with the page scrolling. › Reply To: The mobile version menu bar cannot be displayed along with the page scrolling.

#238
TigriWeb
Keymaster

Hi Ken,

Thank you for your message.
You can fix this issue by adding the following CSS code under Appearance → Customize → Additional CSS:

@media screen and (max-width: 991px) {
	.site__header,
	.site__header__sticky-area {
		position: sticky;
		top: calc(var(--wp-admin--admin-bar--height, 0px) - var(--kampina--announcement-bar--height, 0px) );
	}
}
@media screen and (max-width: 600px) {
	.site__header,
	.site__header__sticky-area {
		position: sticky;
		top: calc(var(--kampina--announcement-bar--height, 0px) * -1);
	}
}

This will make the header sticky on mobile devices as well.

Best regards,
TigriWeb Team