Site logo

Archived topic

delay for the sticky navigation

5 replies · Started by baidy on September 24, 2022

Viewing posts 1–6 of 6

Hello GP support,

I would like to know if it's possible to set a delay for an element that is sticky.

what I mean is only after you scroll down a certain height does the sticky element activate, I would like to have this function applied to this code :

html, body {
    overflow-x: unset !important;
}
.gb-container.gb-container-92ee59c8 {
    position: sticky;
    top: 132px;
	  z-index: 998;
}

@media (max-width: 1307px) {
.gb-container.gb-container-92ee59c8 {
    top: 62px;
}

On my website the sticky element(slider) activate before the sticky I set up with GP customizer, so there is a delay

thanks

Hi there,

Unfortunately that is not possible without a custom javascript solution.

Sorry about that!

alright, so GP only deals with CSS.

Do you where I could find help to add a custom javascript solution?

thanks

thanks

will do

No problem :)

This archived topic is closed to new replies.