Support » Plugin: Sticky Menu, Sticky Header (or anything!) on Scroll » Sticky element is disappearing on some pages

  • Resolved jodamo5

    (@jodamo5)


    I’ve just discovered an unusual issue on my site – sometimes the sticky widget is disappearing when I scroll down the page. Specifically the widget gets assigned a width of just 1.8px instead of maintaining its current width.

    This isn’t happening on all widgets, but is happening on a specific one.

    I’m targeting the last widget in the sidebar, using this selector:
    #sidebar section:last-of-type

    This works well. And even on the pages where the issue is happening the targeting it still correct – it’s just the width that is wrong.

    Here’s a page where the issue is happening:
    https://www.duoplus.nz/customer-support/berean-insights/
    When your scroll down the page you’ll see the sidebar content disappears.

    And here’s a page where the issue isn’t happening:
    https://www.duoplus.nz/project/chubb-security/

    Any ideas what might be causing this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author WebFactory

    (@webfactory)

    I see that the width of the section element is being set to only a few pixels. My colleague will have a look but at the moment I don’t have any smart ideas 🙁

    Thread Starter jodamo5

    (@jodamo5)

    Just checking in – did you colleague manage to have a look? Any ideas on what might be causing the section to be assigned a width of only 1.8px by this plugin? Thanks.

    Thread Starter jodamo5

    (@jodamo5)

    Ok, I’ve hacked a solution with using width: 100% !important;

    Not ideal, but it’s working! Feel free to close this support request as it seems to be an obscure case.

    Plugin Author WebFactory

    (@webfactory)

    Glad you got it working 👍

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.