WebSite X5Help Center

 
Derek K.
Derek K.
User

Anchor issue  en

Autor: Derek K.
Besucht 1665, Followers 1, Geteilt 0  

This is a work in progress test1.buildthewebsite.co.uk I have links on the home page to anchors in the services page. When you click on the link and the anchor appears the sticky bar drops down and covers the some of the anchor which means you have to scroll in order to read the anchor from the start. Is there a way to stop this.

Gepostet am
5 ANTWORTEN - 1 NüTZLICH
Dieter D.
Dieter D.
User

Add an object "simple seperator" with the height of your sticky bar before your achored content and make this seperator hold the anchor instead of your object with the content.

Mehr lesen
Gepostet am von Dieter D.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Nutzer des Monats ESNutzer des Monats PT

... or, without altering the page layout, use extra / expert code in the style tag in /head; for example:

<style>#anchor1, #anchor2, #anchor3 {position:relative; top:-100px !important;}</style>

.

ciao

Mehr lesen
Gepostet am von  ‪ KolAsim ‪ ‪
John S.
John S.
User

@kolAsim

Yessmile

This is the solution. I have earlier asked INCOMEDIA to make this a setting in X5.

It could be a general setting that could be set in connection with the sticky menu - possibility to se an offset for the anchors. My request for this possibility is here : https://helpcenter.websitex5.com/de/post/191175

I think neither you or me,  of us would have problems with this - but as X5 should be the tool for non-coders then it should be made an option. As the "sticky menu" can be set for each view-port, then it should be no problem.

Mehr lesen
Gepostet am von John S.
John S.
John S.
User

Corrections

possibility to se an ...  ----> possibility to set an ....

I think neither you or me,  of us would have problems with t... -----> I think neither you or me, would have problems with t....

Mehr lesen
Gepostet am von John S.
Derek K.
Derek K.
User
Autor

Thanks everybody, I wil experiment with your suggestions.

Mehr lesen
Gepostet am von Derek K.