How to fix body section moving when opening cart sidebar?

Topic summary

  • Issue: Opening the quick cart sidebar (cart drawer) causes the entire page/body content to shift left.

  • Context: Shopify store design question; the behavior is visible on the provided preview link.

  • Evidence: Multiple before/after screenshots are shared to illustrate the shift. Images are central to understanding the visual issue; no code snippets are provided.

  • Goal: Prevent the body/content from moving when the cart sidebar opens.

  • Details known: No theme name, custom code, or browser/device specifics mentioned. No mention of related settings (e.g., scroll locking or overflow handling) in the thread.

  • Outcomes/decisions: None yet. No suggested fixes or workarounds provided in the discussion.

  • Status: Unresolved and open; the poster is seeking guidance on stopping the layout shift when the cart sidebar is triggered.

Summarized with AI on January 21. AI used: gpt-5.

Hi, I have a quick cart sidebar that moves my whole body section to the left when opened.

Before:

After:

How can I prevent this from happening? https://34sh1ao9588d5ru3-26608304175.shopifypreview.com

You can see the effect here