Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. How to return to the exact same scroll position when going back to previous page

How to return to the exact same scroll position when going back to previous page

Scheduled Pinned Locked Moved General Discussion
6 Posts 5 Posters 876 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Rama94
    wrote on last edited by
    #1

    Hi Everyone!

    I recently have noticed that if I jump to another page while using the menu and then go back again (pressing back button ) that Lay Theme brings me to the same scroll position that I was before on the previous page. That's great so far.

    But: if I'm navigating through a regular link on the site (I mean a link that is not contained in the menu) and then go back, that Lay Theme always take me to the top of the page instead to the previous scroll position.

    Is there a way to fix this?

    Best
    Raphael

    1 Reply Last reply
    0
    • RichardR Offline
      RichardR Offline
      Richard
      Global Moderator
      wrote on last edited by Richard
      #2

      Dear @Rama94

      Could you please post a link to your website,
      And then i will try to give an answer that relates better :)

      Best wishes
      Richard

      1 Reply Last reply
      0
      • BaptisteB Offline
        BaptisteB Offline
        Baptiste
        wrote on last edited by
        #3

        Hey @Richard-K ,

        I have a pretty similar question. The homepage I have is a long scroll working with full screen slider and each row is linked to different pages. When I’m on a page and because I have like 12 rows, I’d love to be able to go back to the previous scroll position instead of the top of the page. Is there a way to do that?

        @Rama94 did you find a way? JS?

        Best,
        Baptiste.

        1 Reply Last reply
        0
        • RichardR Offline
          RichardR Offline
          Richard
          Global Moderator
          wrote on last edited by
          #4

          Dear Baptiste @Baptiste

          I have sent you a message regarding this thread:

          http://laythemeforum.com:4567/topic/6124/navigate-back-to-the-last-scroll-position-in-thumbnail-grid/5

          Best wishes
          Richard :)

          1 Reply Last reply
          0
          • G Offline
            G Offline
            Guido
            wrote on last edited by
            #5

            Hello @Richard, I would need the same thing that Rama94 asked. The website is guidotarricone.it (please check the Italian version, as English is still in progress) and I would need it every time a person goes back to the homepage.homepage.

            1 Reply Last reply
            0
            • arminunruhA Offline
              arminunruhA Offline
              arminunruh
              Global Moderator
              wrote on last edited by
              #6

              sure i answered you in the other topic you created

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              I also code custom websites or custom Lay features.
              💿 Email me here: 💿
              info@laytheme.com

              Before you post:
              1. When using a WordPress Cache plugin, disable it or clear your cache.
              2. Update Lay Theme and all Lay Theme Addons
              3. Disable all Plugins
              4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

              This often solves issues you might run into

              When you post:
              1. Post a link to where the problem is
              2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
              3. If the problem is difficult to explain, post screenshots / link to a video to explain it
              Online Users
              A
              alasdair17
              Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
              laytheme.com
              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Recent
              • Tags
              • Popular
              • Users
              • Search