WebSite X5Help Center

 
Dieter D.
Dieter D.
User

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

Autor: Dieter D.
Besucht 1564, Followers 1, Geteilt 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

Gepostet am
3 ANTWORTEN
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.

Mehr lesen
Gepostet am von Esahc ..
Dieter D.
Dieter D.
User
Autor

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

Mehr lesen
Gepostet am von Dieter D.
Dieter D.
Dieter D.
User
Autor

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

Mehr lesen
Gepostet am von Dieter D.