• Hi there,

    I love this plugin, it’s so much better than all the other sticky menu plugins ive seen, however I have a few issues with it on my site.
    Firstly – is it possible to create a background colour for the menu just when it is scrolling? I.e no background at the top, just once it sticks to the top of the page?

    Secondly – I would like it to be right at the top of the page, however there is a big gap above the top of the menu.

    And finally, it doesn’t work on my homepage, but it does work on all the others. My homepage is different as it uses a full screen slider instead of just header images, is this what’s causing it to not work?

    You can find the site here: site

    Thanks in advance for your help, and I’m sorry for so many questions!

    Kind regards,

    Will.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi, thanks for trying my plugin! ??

    1. You can give the menu a background color when it’s sticky by adding something like this to your CSS:

    .sticky-element-original {
      background:#1c1c1c;
    }

    2. When I look at your page, I don’t see this gap that you’re talking about. Can you elaborate where you see it exactly?

    3. On your home page, I can see there’s a JavaScript error related to another plugin called “My Sticky Menu” (I assume that’s another plugin you tried for this purpose):

    Uncaught SyntaxError: Failed to execute 'querySelector' on 'Document': The provided selector is empty.

    This error might be blocking my plugin from working properly. Try to disable and see if that works.

    Let me know if this helps! ??

    im facing similar to the second issue. upon login there is gap on top of menu. can you please help me resolve it

    @wesley_durai I’ll need to see a link to your site and a more specific description of your issue. Can you please create a new thread and include those details?

    Thanks!

    sorry for late reply..my pc was getting fixed. any way here is the blog
    https://aniframes.com/blog/
    only when logged in there is a gap between wordpress bar and menu at the top of the page.

    @wesley_durai I wouldn’t be able to see the problem unless I am logged in, so if you need me to take a look at it, please create a user for me with minimal rights.

    More importantly though, it looks like my plugin is not active on your site to begin with, but the menu is sticky anyway. Perhaps you’re using a different plugin?

    • This reply was modified 8 years, 1 month ago by Senff.
    • This reply was modified 8 years, 1 month ago by Senff.

    [email protected]
    password: sky123

    true i had to deactivate coz of the problem but now i have activated it again plsss take a look

    Hi,

    I see that the plugin is activated now, but it doesn’t have any effect. In the plugin settings, you’ve selected the element “.Menu 1”, but there is no element with that class (also, classnames can not contain spaces or start with numbers).

    The menu IS sticky though, so there is another plugin (or theme feature) that’s making it stick at the top of the screen, and so the gap you’re seeing is unrelated to my plugin.

    I can see that the menu changes from position:relative to position:fixed. When it’s relative, the menu bar will be 32px lower than it’s “normal” state (which is at the very top) but when it’s fixed, it will be 32px from the top of the screen. Ideally, you would only want the top:32px property when it’s in fixed mode.

    But again, this is all unrelated to my plugin, so you might want to check the other plugin’s settings. If you can disable it, then my plugin could be more helpful, since it has a built-in mechanism that checks if there’s an admin bar or not.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘3 Minor Issues!’ is closed to new replies.