Title: Plugin not working with theme
Last modified: August 31, 2016

---

# Plugin not working with theme

 *  Resolved [Philnicholl](https://wordpress.org/support/users/philnicholl/)
 * (@philnicholl)
 * [10 years ago](https://wordpress.org/support/topic/plugin-not-working-with-theme-3/)
 * Hi,
 * I’ve used your excellent plugin before and never had a problem. With a current
   development the links are just jumping not scrolling. It may be that the theme
   is based on Foundation 6 and has off-canvas content or perhaps there is some 
   other conflict.
 * [adoptionmatch-0b15.temp-dns.com/adopters/activity-days/](http://adoptionmatch-0b15.temp-dns.com/adopters/activity-days/)
 * The top left link ‘What are activity days’ is in a div with the class ps2id. 
   I’ve also tried using a[rel=’m_PageScroll2id’] with no joy.
 * Any ideas?
 * Many thanks
 * Phil
 * [https://wordpress.org/plugins/page-scroll-to-id/](https://wordpress.org/plugins/page-scroll-to-id/)

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

 *  Plugin Author [malihu](https://wordpress.org/support/users/malihu/)
 * (@malihu)
 * [10 years ago](https://wordpress.org/support/topic/plugin-not-working-with-theme-3/#post-7352311)
 * Hi,
 * The link doesn’t work because the div with the class `ps2id` **is not a direct
   parent of the link**. The link is inside a heading 6 (`h6`) tag. The `ps2id` 
   class will work only when applied on the link itself or when applied on a direct
   parent element!
 * Your markup is now:
 *     ```
       div (ps2id)
           h6
               a ("What are Activity Days?")
       ```
   
 * Try adding the `ps2id` class on the `h6` (or directly on the link):
 *     ```
       div
           h6 (ps2id)
               a ("What are Activity Days?")
       ```
   
 * Let me know 🙂
 *  Thread Starter [Philnicholl](https://wordpress.org/support/users/philnicholl/)
 * (@philnicholl)
 * [10 years ago](https://wordpress.org/support/topic/plugin-not-working-with-theme-3/#post-7352370)
 * Thanks, malihu. You’re quite right – the end of a long day! Thanks very much 
   for your speedy help.
 *  Plugin Author [malihu](https://wordpress.org/support/users/malihu/)
 * (@malihu)
 * [10 years ago](https://wordpress.org/support/topic/plugin-not-working-with-theme-3/#post-7352377)
 * You’re welcome 🙂

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

The topic ‘Plugin not working with theme’ 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: [10 years ago](https://wordpress.org/support/topic/plugin-not-working-with-theme-3/#post-7352377)
 * Status: resolved