Experiencing a CSS class being added to the Body tag upon page load can indeed override your default site styling. In Webflow, this can occur due to specific project settings or interactions.
1. Check for Interactions
- Go to the Interactions panel and review any page load interactions.
- Ensure no interaction targets the Body tag with styles you don't want.
2. Review Custom Code
- Inspect any custom code under the Project Settings or within individual page settings.
- Look for scripts that modify the body tag or elements that might include
data-wf-spring-theme-render.
3. Analyze Published Code
- Preview your site in the browser and use developer tools to check the body tag.
- Identify any scripts or styles related to
data-wf-spring-theme-render.
4. Disable Unwanted Customizations
- If possible, remove or disable the customizations identified in the custom code or interactions.
Summary
To resolve the CSS class on the Body tag issue in Webflow, examine interactions and custom code for unintended styles. Deactivate or adjust these settings to maintain your desired site styling.