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 can I link to an anchor point on another page?

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

Scheduled Pinned Locked Moved General Discussion
4 Posts 2 Posters 795 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.
  • H Offline
    H Offline
    harrietbrown
    wrote on last edited by
    #1

    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
    0
    • mariusjopenM Offline
      mariusjopenM Offline
      mariusjopen
      Global Moderator
      wrote on last edited by
      #2

      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
      0
      • mariusjopenM mariusjopen

        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

        H Offline
        H Offline
        harrietbrown
        wrote on last edited by
        #3

        @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
        0
        • mariusjopenM Offline
          mariusjopenM Offline
          mariusjopen
          Global Moderator
          wrote on last edited by
          #4

          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
          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