WebSite X5Help Center

 
P. S
P. S
User

Sticky Bar  en

Auteur : P. S
Visité 517, Followers 1, Partagé 0  

Hi,

The sticky bar seems to be broke in version 2019.2. It's displayed all the time, not just when the page is scrolled. 

Was working fine in previous version. 

Urgent for me, need to update a site.

Thanks

Posté le
11 RéPONSES - 2 UTILE
Andre E
Andre E
Moderator

It works for me with no problem.

Try a restart of pc, if it does not help, try to set sticky bar off, save, preview, test, then set sticky bar on again and see if this has helped.

Lire plus
Posté le de Andre E
P. S
P. S
User
Auteur

Tried this but it did not help.

As soon as i turn the sticky bar back on, it appears all the time - regardless of the page position i.e. when the page is scrolled fully to the top.

All i have in the bar is the overlay menu object.

Thanks

Lire plus
Posté le de P. S
Andre E
Andre E
Moderator

Hello P.S.

Claudio D has mentionend a post with similair error but it seems not all projects have this.

For this moment I suggest to set sticky menu off, I wlll ask Incomedia to check this behavior further. If you find out when or how it starts to work or not to wotk it would be helpfull in debugging this issue.

Thx Claudio D !!

Lire plus
Posté le de Andre E
P. S
P. S
User
Auteur

I have now found that converting another project with the sticky, worked fine. The sticky was turned off before conversion. But when turned on after, works fine.

When i convert the original site with the sticky turned on, it stays in view all the time.

Turning on/off, saving, preview etc. does nothing - The sticky is always visible.

This seems a problem with the conversion - how can i correct this now?

Thanks

Lire plus
Posté le de P. S
Esahc ..
Esahc ..
Moderator

P.S have you been tinkering with the new page property "Header - hide for this page"?

This will force the sticky bar to be always visible if it exists.

Lire plus
Posté le de Esahc ..
Pavel M.
Pavel M.
User

The sticky menu was constantly visible, in case there is nothing in the header of the site.

Lire plus
Posté le de Pavel M.
Incomedia
Riccardo P.
Incomedia

Hello,

if the option to hide the header in step 3 is active and the stickybar is enable, the stickybar is always shown. This is the correct working.

Lire plus
Posté le de Riccardo P.
Pavel M.
Pavel M.
User
Riccardo P.
Hello, if the option to hide the header in step 3 is active and the stickybar is enable, the stickybar is always shown. This is the correct working.

This is a wrong job. And if I make a template, where the menu is not in the footer, but in the content of the page, above. In this case, my menu overlaps sticky menu. It will be correct if the sticky menu appears only when scrolling

Lire plus
Posté le de Pavel M.
Claudio D.
Claudio D.
Moderator
Meilleur utilisateur du mois IT

i have this:

but i have 

maybe i found  this: if i put

1 in Header's height the sticky bar is not displayed...

In 2019.1 version also with hejght 0 in Header the stiky bar was not displayed 

i don't know @PS this is your case but it's mine...

riepilogando: nella 2019.1 funzionava diversamente...

anche mettendo 0 all'altezza dell'header la stiky bar non si presentava in dall'inizio ...

ovviamente la spunta su nascondi header non c'è ...

Lire plus
Posté le de Claudio D.
Incomedia
Riccardo P.
Incomedia

Hello,

In the step 2 in Template Structure, if the Height of the header is set to 0 px, the stickybar works as if the option to hide the header in step 3 is active.

Hope this help

Lire plus
Posté le de Riccardo P.
P. S
P. S
User
Auteur

This was the issue.

The header (in template structure) was set to 0, as soon as i changed it to 1, sticky works as expected. This did not happpen before update.

I am using a single page website, the menu is on the page content (overlay object), therefore header set to 0.

Perhaps i should have done this another way.

Thanks all.

Lire plus
Posté le de P. S