• Resolved geraldes82

    (@geraldes82)


    Hi,

    I’m currently having an issue where I can’t figure out a way to get Push-up element to work. Basically I want the Sticky bar to be pushed up when it reaches the “Full Rights & Ownership” Section. I have used “stop-sticky” as the ID but it doesn’t work.

    Can someone assist please?

    Thanks,
    Jose

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • This seems to be working fine, as you can see in this screencap:
    https://d.pr/i/Fbn6L5

    I’ve added some colors (red for the sticky menu, blue for the pushup element) to make it more clear.

    Thread Starter geraldes82

    (@geraldes82)

    Hi Senff,

    I apologize as there was an issue with the page after I saved it, I have fixed it now and if you try again you can see it doesn’t work now.

    The reason why the sticky element is not scrolling back up once the pushup element reaches it, is because the following class is applied to the #sticky element:

    .et_pb_row_4.et_pb_row {
        padding-top: 5px!important;
        padding-bottom: 0px!important;
        margin-top: 0px!important;
        margin-bottom: 0px!important;
        padding-top: 5px;
        padding-bottom: 0px;
    }

    The margin-top: 0px!important; part in there is what’s keeping the element from going back up. If it’s at all possible to remove that from there, my plugin will be able to do its job, though I can’t say if that results in other things you might not want.

    Thread Starter geraldes82

    (@geraldes82)

    You’re a star Senff. I removed margin-top: 0px!important; and it works now.

    Thanks for all your support.

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

The topic ‘Push-up element not working’ is closed to new replies.