WebSite X5Help Center

 
Dieter D.
Dieter D.
User

Bug - scrolling to anchor with fixed header moves too far up  de

Автор: Dieter D.
Просмотрено 1779, Подписчики 1, Размещенный 0  

Hi!

In V13 if I have menulinks to anchors (one page design) with a fixed menu/header the content is scrolled too far up and disappears under the header.

Regards,
Dieter

Размещено
3 Ответы
Esahc ..
Esahc ..
Moderator

Dieter

I had the same issue in 12 as well.

I simply added a cell above where I wanted the anchor and made that the anchor.

Читать больше
Размещено От Esahc ..
Dieter D.
Dieter D.
User
Автор

Hi Eshac!
That's a possible workaround.
As in V13 the fixing of the menu when scrolling is a new feature I expect it to work with anchors as well. So Incomedia should fix that bug...
Thanks!
Dieter

Читать больше
Размещено От Dieter D.
Dieter D.
Dieter D.
User
Автор

As Incomedia seems to be very slow with fixing some bugs I found a better workaround than adding cells above the real anchor (as they tend to screw up the layout):

Add in the code section in your custom style attributes (my header height is 80px, adjust for your needs):
#anchor_home, #anchor_about, #anchor_bio, #anchor_references, #anchor_services, #anchor_contact, #anchor_fb {position:relative; top:-80px;}

Still this in a bug which should be fixed in the software as not all users are comfortable with adding code...

Читать больше
Размещено От Dieter D.