Title: Offset Conflict
Last modified: February 21, 2017

---

# Offset Conflict

 *  Resolved [schmickler83](https://wordpress.org/support/users/schmickler83/)
 * (@schmickler83)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/offset-conflict/)
 * Hello,
 * I want to use this plugin with the Genesis Cafe Pro theme, but it already has‘
   scroll to id’ functions. I’m working on this site [http://villa7.ectopress.com/](http://villa7.ectopress.com/)
   but it does not have the plugin installed yet. My local environment is where 
   I am testing the plugin and the offset is not working. Can you tell what I have
   to disable in order to remove conflict? I really want to use the offset feature.
 * Thank you.

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

 *  Plugin Author [malihu](https://wordpress.org/support/users/malihu/)
 * (@malihu)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/offset-conflict/#post-8829249)
 * In plugin settings try enabling [“Prevent other scripts from handling plugin’s links” under “Advanced options”](http://manos.malihu.gr/page-scroll-to-id-for-wordpress/#plugin-settings-remove-other-click-events).
   
   This should remove theme’s scrolling functionality from the links that are handled
   by “Page scroll to id”.
 * Let me know if this helps
 *  Thread Starter [schmickler83](https://wordpress.org/support/users/schmickler83/)
 * (@schmickler83)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/offset-conflict/#post-8830304)
 * Thank you for responding.
 * That was already enabled, sorry I didn’t mention it. I went ahead and installed
   the plugin on the live site here: [http://villa7.ectopress.com/](http://villa7.ectopress.com/)–
   it also has the “prevent other scripts…” setting enabled.
 * This is the code that I added
    [ps2id_wrap id=’gallery’ offset=’500′] [metaslider
   id=650] [/ps2id_wrap]
 * Does this code look correct? Or am I missing something?
 *  Plugin Author [malihu](https://wordpress.org/support/users/malihu/)
 * (@malihu)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/offset-conflict/#post-8831550)
 * The shortcode you’ve added is **not** correct. The offset is not an attribute
   of the [target shortcode](http://manos.malihu.gr/page-scroll-to-id-for-wordpress/#plugin-shortcodes-target).
   It’s an attribute of the [link shortcode](http://manos.malihu.gr/page-scroll-to-id-for-wordpress/#plugin-shortcodes-link).
   In other words, the offset goes on the links (not the targets).
 * If you simply want to “move” the gallery down (as with the rest of your sections),
   you can simply give it a top padding equal to the other sections top border. 
   So maybe the solution you need is to add the following CSS:
 *     ```
       #gallery{
           padding-top: 74px;
       }
       ```
   
 * If you want to use an offset value for all your links, you should [add the value you want in plugin settings “Offset” field](http://manos.malihu.gr/page-scroll-to-id-for-wordpress/#plugin-settings-offset).
 *  Thread Starter [schmickler83](https://wordpress.org/support/users/schmickler83/)
 * (@schmickler83)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/offset-conflict/#post-8831842)
 * Thanks again. I apologize for misunderstanding the instructions.
 * My current link inside the WordPress Menu area is like so:
    [http://villa7.ectopress.com//#gallery](http://villa7.ectopress.com//#gallery)
 * How do I append this link with the offset attribute? Would it be like this…
    
   [http://villa7.ectopress.com//#gallery:fixed:height(>50)](http://villa7.ectopress.com//#gallery:fixed:height(>50)):
   height(<100) or like this [http://villa7.ectopress.com//#gallery](http://villa7.ectopress.com//#gallery)
   offset=’100′ I think they’re not correct because they do not work at all. Please
   tell me what I’m doing wrong.
 * Regarding your other suggestions, thank you but I want to offset only the gallery’s
   landing point. And adding extra padding to the top of the gallery does not look
   too good.
 * Thank you for your help.
 *  Plugin Author [malihu](https://wordpress.org/support/users/malihu/)
 * (@malihu)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/offset-conflict/#post-8832777)
 * No problem 🙂
 * You can add the extra top padding and subtract the same value from the top margin
   so everything stays visually the same. For example:
 *     ```
       #gallery{
           padding-top: 74px;
           margin-top: -74px;
       }
       ```
   
 * The link-specific offset can be applied on the link shortcode. To add one on 
   a WordPress menu item, you’d need to do it via javascript (unless the theme allows
   HTML data attributes on menu items).
 *  Thread Starter [schmickler83](https://wordpress.org/support/users/schmickler83/)
 * (@schmickler83)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/offset-conflict/#post-8838064)
 * Hey that’s a cool trick 🙂 Thank you for suggesting that. This will work for 
   me. I really appreciate your help!
 *  Plugin Author [malihu](https://wordpress.org/support/users/malihu/)
 * (@malihu)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/offset-conflict/#post-8838132)
 * Glad I helped. Thanks a lot for your review 🙂

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

The topic ‘Offset Conflict’ 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/)

## Tags

 * [offset](https://wordpress.org/support/topic-tag/offset/)

 * 7 replies
 * 2 participants
 * Last reply from: [malihu](https://wordpress.org/support/users/malihu/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/offset-conflict/#post-8838132)
 * Status: resolved