Title: Problem with &quot;width&quot; change
Last modified: September 1, 2016

---

# Problem with "width" change

 *  [citt](https://wordpress.org/support/users/citt/)
 * (@citt)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/problem-with-width-change/)
 * 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](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://wordpress.org/plugins/sticky-menu-or-anything-on-scroll/](https://wordpress.org/plugins/sticky-menu-or-anything-on-scroll/)

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

 *  [Senff – a11n](https://wordpress.org/support/users/senff/)
 * (@senff)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/problem-with-width-change/#post-7570702)
 * 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](https://wordpress.org/support/users/citt/)
 * (@citt)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/problem-with-width-change/#post-7570713)
 * 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!!!
 *  [Senff – a11n](https://wordpress.org/support/users/senff/)
 * (@senff)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/problem-with-width-change/#post-7570716)
 * Good to hear it’s working. 🙂
 * (I would suggest to use the 100% fix, and not the Legacy Mode.)
 *  [Senff – a11n](https://wordpress.org/support/users/senff/)
 * (@senff)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/problem-with-width-change/#post-7570717)

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

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

 * ![](https://ps.w.org/sticky-menu-or-anything-on-scroll/assets/icon-256x256.gif?
   rev=2564941)
 * [Sticky Menu & Sticky Header](https://wordpress.org/plugins/sticky-menu-or-anything-on-scroll/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sticky-menu-or-anything-on-scroll/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sticky-menu-or-anything-on-scroll/)
 * [Active Topics](https://wordpress.org/support/plugin/sticky-menu-or-anything-on-scroll/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sticky-menu-or-anything-on-scroll/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sticky-menu-or-anything-on-scroll/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Senff – a11n](https://wordpress.org/support/users/senff/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/problem-with-width-change/#post-7570717)
 * Status: not resolved