• Hi.
    Everything is set like it should, and I made a unique anchor point in footer #FooterMenu but push up function doesn’t work.
    Please help me.

    • This topic was modified 7 years, 1 month ago by Goran.

    The page I need help with: [log in to see the link]

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

    It looks like you have #FooterMenu set as your pushup element. However, from what I can see, that element quite low down the page, while your sticky header is all the way at the top, so there’s not really a situation where the footer “touches” the sticky element, even when you scroll all the way down.

    Does that make sense? Or did I misunderstand your question?

    Thread Starter Goran

    (@hrvan)

    First of all thanks for the plugin, and thanks a lot for your answer.
    To clear things up isn’t it supposed to work like this: menu with a class or id I’m triggering with your plugin should move up with the rest of the website until it comes to top, then it stops, and it starts moving when it reaches a class or id – in my case #FooterMenu?
    I’m guessing the problem is the top of my menu should reach the top of the footer.
    Since footer is the only constant on the pages and custom posts maybe I can add a div above footer with a height of 400px and make it unvisible as an anchor for triggering the push up?

    , then it stops, and it starts moving when it reaches a class or id – in my case #FooterMenu?

    I’m not sure if I understand that correctly. So the sticky element will stay at the top of the screen, until the top of the pushup element reaches the bottom of the sticky element — then the sticky element will start scrolling again.

    Since the footer isn’t really tall enough to reach the bottom of that menu, it won’t be able to push up the sticky element again. Adding 400px at the top of the footer might help, but then you’d also see a big chunk of nothing right above the footer.

    You could try adding some padding-bottom perhaps?

    Thread Starter Goran

    (@hrvan)

    I thought this is the way the plugin works, and that is my intention. I want it to be sticky only a certain time – untill the last element I target in the menu. Then it should start moving up. Now that I think about it, that last element is actually a constant in all the pages I’m using the plugin, so I could target it’s id. Thanks for all your help!

    Thread Starter Goran

    (@hrvan)

    Dear Mark,
    I managed to fix the problem so I’m writing to you to explain what caused it if anyone have the similar issue they can try to fix it in the way I did. First I’ve set the push up element to #dojmovi and #opcenito which are actually a lot above footer but there were no reaction on both of them. I remembered that when I installed the plugin it was working even on footer, but what happened in the meantime I didn’t know. If there were conflicts with some other plugin it wouldn’t work at all, but it was stopping when it reached the top spot so I knew the plugin was ok. Then I guessed the problem lies in part of the css I wrote, so I deleted all of my css and it worked. Now there was only a matter of time to figure it out what. The theme is using some div’s on multiple places and on one of them I needed to give the margin, padding and border 0px and that was it. When I removed this it started to work. Hope this will help someone if comes to the same problem like me.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Push up issue’ is closed to new replies.