Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    How can I link to an anchor point on another page?

    General Discussion
    2
    4
    599
    Loading More Posts
    • 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.
    • H
      harrietbrown last edited by

      I'm stuck at something that I think it's probably fixed by now but I can't seem to figure it out.

      I have added an anchor link to a part of my page that's on the top menu. it works fine on the very page but not anymore if i click the link from another page as the anchor is only on my home.

      I tried linking the full url: “http://elenagallen.com/home/#mythumbs” but it doesn’t work.
      Neither it does linking the url: "/home/#mythumbs" to indicate that the link is within my domain, as it normally would have worked with html pages.

      My website is www.elenagallen.com and it's happening with the anchor on the Selected Works link on the top menu when I click it from profile page.

      Any easy way to fix this?

      1 Reply Last reply Reply Quote 0
      • mariusjopen
        mariusjopen Global Moderator last edited by

        Hi @harrietbrown !

        really nice website!

        Did you have a look at this post here?
        http://laythemeforum.com:4567/topic/1511/anchor-links-on-another-page/2

        Let me know if you have questions!

        Best!

        Marius

        www.mariusjopen.world

        H 1 Reply Last reply Reply Quote 0
        • H
          harrietbrown @mariusjopen last edited by

          @mariusjopen hi marius, i did but i don't seem to get it. should i add a js code to allow the anchor to work from a different page? if so, what is this code?

          thanks a lot in advance for the help :)

          1 Reply Last reply Reply Quote 0
          • mariusjopen
            mariusjopen Global Moderator last edited by

            Hi @harrietbrown !

            It get a bit tricky when you try to use the normal navigation with anchor links.

            Have a look at my last post here. That works for sure:
            http://laythemeforum.com:4567/topic/1350/scroll-to-anchor/8

            Let me know!

            Best!

            Marius

            www.mariusjopen.world

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Before you post

            Use the Search Feature. Maybe there is already a solution to your issue.

            1. Update Lay Theme and all Lay Theme Addons
            2. Disable all Plugins
            3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
            4. Now see if your problem solved itself
            5. Go here, see if your problem is listed here:
            Troubleshooting

            When you post:
            1. Post a link to where the problem is
            2. If the problem is difficult to explain, post screenshots / link to a video to explain it

            Thanks!

            Online Users

            M
            Z
            S
            K

            Recent Topics

            • M

              komische boxen auf der Website

            • S

              Theme crashed - because of Polylang?

            • J

              Split Screen just on front page / subpages without the split?

            laytheme.com