A user needed to change the background color of a page containing a contact form app. Despite editing the form’s design settings and theme options, the page background remained white.
Solution provided:
A PageFly support representative suggested adding custom CSS code to the theme.liquid file above the </head> tag, targeting pages with ‘contact’ in the template.
Outcome:
The original solution worked successfully
The user also discovered an alternative CSS snippet that achieved the same result by targeting .section.shopify-section elements with background-color: black !important
Follow-up question:
Another user asked about applying black background color across all pages, noting white blocks appearing between Shopify sections. This remains unanswered.
Summarized with AI on November 5.
AI used: claude-sonnet-4-5-20250929.
Hello,
i am using and app for my contact form, so that customers will have the option to attach files to their requests. I have edited all the colors in the form design itself, but I am unable to change the background color of the “page” area that the form exists within on the site.
I have checked all the theme settings and usual places where you change colors and backgrounds, but to no avail. I have tried entering a custom CSS on the element itself, but it still stays white.
So, is there a solution to get the white areas in the attached image of my site to display as black?
Do you have a code that can change the background color on all pages? I need a black background, but the white blocks appear in between the black shopify sections.