• Resolved atikahmd

    (@atikahmd)


    Hi,

    I use a slider at my homepage and it seems to disrupt one page jump that’s supposed to go to the section just below it. I suspect it’s the slider as the page was working fine when I used the WordPress cover block before switching to the slider.

    Here’s a video showing the behavior: https://drive.google.com/file/d/1XYvWr4V0BeZyDcEJcEN_H-dVUekqGhm4/view?usp=sharing

    There are several HTML anchors set up on the homepage and things work for the second anchors onwards. However, the slider does seem to reload every time I click on the menu links although they’re all on the same page. Is there anything in settings that can prevent this?

    Not sure if this is relevant info, but I’m currently developing the website on localhost.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Ramona

    (@nextend_ramona)

    Hi @atikahmd

    Are you using only the acnhor at the link (#anchor) or the full page URL? (https://localhost/site/#anchor)

    I think you use the full URL, because at 0:25 you can see that the browser refreshes the page:

    View post on imgur.com


    If you use the full URL, you tell the browser to open the https://localhost/site/#anchor page, which it recognizes as a new page, and it will cause the browser to reload the page.

    If you want to avoid the browser reloading the page, don’t use the full URL, just the anchor.

    Thread Starter atikahmd

    (@atikahmd)

    Hi Ramona,

    Thank you for pointing that out – it solved the issue for me for the second and subsequent anchors on the homepage. But there’s still a problem with the first anchor. I’ve removed the full URL from the “Services” menu but when clicked, it doesn’t go to the correct location. The page scrolls just a bit and stops at the slider.

    Hope you’re able to assist with this as well.

    Edit: I renamed the first anchor to a different name and that seems to solve the issue.

    • This reply was modified 3 years, 5 months ago by atikahmd.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Page Jump Not Working with Slider’ is closed to new replies.