Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1130475

    Hi!
    I’m making a new site using the One Page template https://kriesi.at/themes/enfold-landing-page/. I am just realizing before launch that I don’t like the fact the browser’s back button takes the user back to the previous web page, but not back to the previous #bookmark within the same page. I like the jump feature for navigation, but think it’s nature for people to hit the back button when they want to see what they were just looking at. Is there a way to over-ride this so when a user clicks the brower’s back button, they will be taken back to the last bookmarked section (for example,. going from the link mysite.com/#pricing to the link mysite.com/#faq when clicking the back button, instead of leaving the website)? As a second resort, is there a way to make the “up” arrow that floats on the screen turn into a Back button that takes the user back to the previous bookmark instead of the top of the page?
    Thanks!

    #1130567

    Hey webdesign,
    Sorry anchor links do not register a page load event in browsers, so the back button is not triggered. This is how browsers are programed and a theme or webpage can not change this.

    Best regards,
    Mike

    #1130808

    Hi Mike,
    Ok, thank you. Alternatively, is there a way to make the “scroll to top” floating button return to the last viewed anchor link, instead of scrolling back to the top of the page?
    Thanks!

    #1130823

    Hi,
    Sorry, this may be accomplished with some javascript by capturing the hashtag clicks and replacing using some logic to replace the “scroll to top” link address with the one from two clicks ago, but this would be outside the scope of what we can do here. We have partnered with Codeable to assist in such customizations and understand Enfold very well.

    Best regards,
    Mike

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.