[Resolved] Anchor link don’t return to top

Home Forums Support [Resolved] Anchor link don’t return to top

Home Forums Support Anchor link don’t return to top

  • This topic has 5 replies, 2 voices, and was last updated 6 months ago by Leo.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2349327
    Daniele

    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

    #2349838
    Leo
    Staff
    Customer Support

    Hi there,

    Is there a specific button we should be looking at?

    #2349995
    Daniele

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

    #2350015
    Leo
    Staff
    Customer Support

    What happens if you remove your own CSS first?

    #2350607
    Daniele

    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

    #2350885
    Leo
    Staff
    Customer Support
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.