• Hi, on this staging site every box is linked with the content below. From the content you have an arrow top icon which should bring you back to the top. I’ve the following problems:

    1. Scroll down is very fast, scroll to top perfect like in the settings (1500)
    2. Scroll to top is not working properly and on mobile not at all. I set the ID #service on every scroll to top Icon.

    May I ask for your help?
    Thanks
    Greg

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author malihu

    (@malihu)

    Hello,

    1.The problem is that the boxes are not actual links. They are div elements with a custom click event attached (probably from the elementor page builder).

    You need to change your boxes to actual link elements, in order for the “Page scroll to id” plugin to handle them.

    The #service (top arrow) link works correctly because it is an actual link element (that’s why when you hover it with the cursor you can see the URL at the bottom of the browser).

    You should be able to change your boxes from divs to links (<a>) with Elementor.

    You should basically follow this guide in order to create the actual links and targets. In short:

    Give each of your target section an id, e.g. section-1
    Create a link box with the URL of the target, e.g. #section-1

    2.What do you mean by “not working properly” on desktop? I tested it and it works for me, i.e. it scrolls to the #service element

    On mobile it doesn’t work because the top arrow links get hidden by some invincible spacer elements, i.e. the spacer elements “cover” them so you don’t really click the actual arrow link (you click the invincible spacer). Hope this makes sense.

    I have no idea why those spacers have the CSS rules they have but you should change them with CSS like this:

    body:not(.elementor-editor-active) .elementor-menu-anchor:before{
        height: auto;
        margin-top: 0;
    }

    This should keep the same spacing between the sections without covering the top arrow links.

    Hope this helps

    Thread Starter webspatz

    (@webspatz)

    Wow, you are offering an excellent support. Thank you for that! I’ll try out everything.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Not working on mobile and some issues on desktop’ is closed to new replies.