GuidaGG / vielfaeltig

Custom theme for Vielfältig built with TailPress
MIT License
0 stars 0 forks source link

(AH) change layout order #54

Closed ah-bas-und-aer closed 1 month ago

ah-bas-und-aer commented 5 months ago

@GuidaGG on the staging page I shifted the contakt info down. Can you explain me how to direct the page correctly to the beginning of a chapter? If I am in the area of "kontakt" now and want to change to "angebote" it is not going up totally.

GuidaGG commented 5 months ago

image

You need to give the corresponding ID to the div/p/a in the content where you want the anchor to scroll to. In this case, the ID "angebote" is added to the paragraph (i just added this btw because it was not working)

and this you do here: HTML-anchor

image

ah-bas-und-aer commented 5 months ago

@GuidaGG I know how to add an anchor, what I am struggeling with is the position. F.i. if you scroll down and go back to ankorpoint “angebote“ the sticky title is right at its place, but not the content below. Same with "kontakt“. There needs to be an adjustment of position. You can tell me where, so I might know next time.