DEV Community

Discussion on: Inherit the width of the parent element when `position: fixed` is applied

attituede profile image
Josha Riedlmayer • Edited on

It sounds like you did not add a trigger to resize it in the first place, in this instruction it's linked to a button '#fixer' which will call the function on click, you could try doing it on document ready