Site logo

Archived topic

Anchor link don't return to top

5 replies · Started by Daniele on September 21, 2022

Viewing posts 1–6 of 6

Hi,
i have this problem: in this Page i have insert a buttons group with anchor link, smoot-scroll and fix to top by css

All work fine but in the bottom page if i click button for return to top page the anchor not work

Hi there,

Is there a specific button we should be looking at?

This buttons (anchor link) they work only scroll-down

What happens if you remove your own CSS first?

Yes, if i disable my custom css the anchor works fines roll up too.

it seems to be the css blocking the page sub-titles under the menu ( .title-fix) You can see it in the inspector.

I solved it like this:
1. I have not removed my custom css.
2. I removed the anchor from the sub-titles and added it instead in a space block 'above' the sub-titles.
This is the change I made to the page by moving the anchor from the 'title block' to the 'space block' without removing my custom css. Now you can see that it works correctly by opening the link from your smartphone: https://www.semscuolaestetica.it/corsi-di-specializzazione-per-estetiste/
Now everything is working correctly!!

Thanks anyway.
-------------------------------------

Keep it up, Generatepress is awesome.

I hope you implement Full Site Editing soon

Glad to hear :)

This archived topic is closed to new replies.