In your reorder-sidebars-mobile.js file you can use this code
The first function sets the “order” when the window is loaded. Moves the left column on top of the right column if mobilewidth threshold is hit.
The resize function will ping every time the window is re-sized. I “think” this is triggered with a screen rotation so we are doubling up to cover all our bases. It will also put the left sidebar back when the threshold is detected as no longer hit.
Hope this helps!
This topic was modified 5 years, 12 months ago by danny.