Title: Mobile anchor doesn&#8217;t work
Last modified: September 20, 2023

---

# Mobile anchor doesn’t work

 *  Resolved [sergey77m](https://wordpress.org/support/users/sergey77m/)
 * (@sergey77m)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/mobile-anchor-doesnt-work/)
 * Hello. Sorry, didn’t find solution in previos topics.
 * If you press buttons in header it works fine on desktop, but on mobile version(
   or if you shrink window on desktop) – it goes up on the top of page.
 * Can you take a look, please, and tell me how I can fix it?
    -  This topic was modified 2 years, 8 months ago by [sergey77m](https://wordpress.org/support/users/sergey77m/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmobile-anchor-doesnt-work%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [malihu](https://wordpress.org/support/users/malihu/)
 * (@malihu)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/mobile-anchor-doesnt-work/#post-17073843)
 * Hello,
 * It seems that another script in your theme is handling the smooth scrolling functionality
   in your page (not the plugin).
 * You need to give the target element the id value. For example, you need to give
   the contacts section the id: `contacts`
 * [https://manos.malihu.gr/page-scroll-to-id-for-wordpress-tutorial/#targets-section](https://manos.malihu.gr/page-scroll-to-id-for-wordpress-tutorial/#targets-section)
 * Doing this will make your links work correctly on both desktop and mobile.
 * Let me know
 *  Thread Starter [sergey77m](https://wordpress.org/support/users/sergey77m/)
 * (@sergey77m)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/mobile-anchor-doesnt-work/#post-17074497)
 * Great, solution “id” by css worked. Thank you! 
   You are really the best!
 *  Plugin Author [malihu](https://wordpress.org/support/users/malihu/)
 * (@malihu)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/mobile-anchor-doesnt-work/#post-17074689)
 * You’re welcome 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Mobile anchor doesn’t work’ is closed to new replies.

 * ![](https://ps.w.org/page-scroll-to-id/assets/icon-256x256.png?rev=1401043)
 * [Page scroll to id](https://wordpress.org/plugins/page-scroll-to-id/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/page-scroll-to-id/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/page-scroll-to-id/)
 * [Active Topics](https://wordpress.org/support/plugin/page-scroll-to-id/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/page-scroll-to-id/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/page-scroll-to-id/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [malihu](https://wordpress.org/support/users/malihu/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/mobile-anchor-doesnt-work/#post-17074689)
 * Status: resolved