• Hi…

    Thank you for this perfect Plugin.
    It works very fine. But I have a problem with “changing the width” of the browser.
    On my testside http://www.kia-drivers.com you can see, that the menu stick perfect by scroll down. But if the menu stick on first line and you grow up (or scale down) the width from the browser, the menubar will stay with old width.
    only if you go up to the first line, the menu will reactivate to the width from the browser.

    Thank you
    Andreas

    https://ww.wp.xz.cn/plugins/sticky-menu-or-anything-on-scroll/

Viewing 4 replies - 1 through 4 (of 4 total)
  • This is a known bug with the plugin that I haven’t been able to fix yet, unfortunately.

    To solve this issue in your case, at least for the time being, make sure that the width of the element .main-navigation has a width of 100% with an additional “!important” tag, so that the plugin won’t override it:

    .main-navigation {
       width: 100% !important;
    }

    Please keep in mind that the majority of users don’t really resize their browser while they’re browsing, so in theory, the situation shouldn’t even come up very often (if at all). Having said that, I’m still thinking about solving this issue — I’m just not sure when I will have it done.

    Thread Starter citt

    (@citt)

    hi mark…

    thank you for your reply.

    yes… you’re right. it’s a very “minor” bug.
    and you are right, too:

    – works fine with: “legacy mode”
    or
    – width: 100% !important

    i doesn’t see it before…

    thank you!!!

    Good to hear it’s working. 🙂

    (I would suggest to use the 100% fix, and not the Legacy Mode.)

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

The topic ‘Problem with "width" change’ is closed to new replies.