WebSite X5Help Center

 
Dieter D.
Dieter D.
User

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

Author: Dieter D.
Visited 1576, Followers 1, Shared 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

Posted on the
3 ANSWERS
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.

Read more
Posted on the from Esahc ..
Dieter D.
Dieter D.
User
Author

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

Read more
Posted on the from Dieter D.
Dieter D.
Dieter D.
User
Author

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...

Read more
Posted on the from Dieter D.