• Hi all,

    I have many anchors tags throughout my site that provide visitors with a link to jump to the top of the page – this works great on desktop versions, but not on mobile versions.

    From what I understand, it has something to do with my anchor being in header.php – is there anywhere I can place the anchor so that it works in all versions (ideally without having to add it to each individual page)?

    Here’s a page on my site with some anchor tags

    • This topic was modified 7 years, 5 months ago by NiallASD.
Viewing 5 replies - 16 through 20 (of 20 total)
  • Thread Starter NiallASD

    (@niallasd)

    It still isn’t working for me unfortunately, the links are there but they still only work via desktops.

    • This reply was modified 7 years, 4 months ago by NiallASD.
    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    the links are there but they still only work via desktops.

    These are different links. They’re handled by your theme. They’re not the links you’ve added via the code snippets in this thread. They also won’t appear when switching to a different theme, like when switching to Jetpack’s Mobile Theme.

    You can find the link you’ve added to Jetpack’s Mobile Theme by scrolling to the bottom of the Mobile Theme page, in the footer.

    Thread Starter NiallASD

    (@niallasd)

    I see the link there now thanks.

    Is there anything I can do to the links I circled to make them mobile responsive?

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    You’d have to add them to Jetpack’s Mobile Theme, following the methods I described earlier. The links could be hooked into the_content, for example.

    You can read more about how to customize Jetpack’s mMobile Theme here:
    https://jetpack.com/2013/06/27/customize-mobile-theme/

    Thread Starter NiallASD

    (@niallasd)

    OK, I’ll give that a go – thanks for all your help.

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘Anchor to top of page [mobile version]’ is closed to new replies.