Surprisingly appearing empty white spaces between body and footer on desktop

Topic summary

Intermittent empty white space appeared between body and footer on desktop (not mobile) on specific pages (product, contact) after customizing the Dawn theme for a dark background. OP had added global CSS (background-color and text color) in both the Custom CSS field and base.css. Images were shared to illustrate the gap; a site link was provided for live viewing.

Another participant reported a similar gap above the header.

Proposed fix: edit the theme.liquid file and paste a provided code snippet directly below the tag (the layout head section in HTML). The exact code was referenced via screenshot but not shown in the text; the instruction was to use the code indicated by the responder.

Outcome: the OP confirmed the fix resolved the issue. A second participant applied the change and plans to monitor due to the issue’s intermittent nature.

Status: resolved for the OP; underlying root cause not explicitly identified. Images were central to understanding the visual issue; the specific code snippet is not included in the discussion text.

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

Thank you very much, the problem is fixed!

Have a nice day i appreciate your help very much