Shopify themes, liquid, logos, and UX
Hello,
I am looking to change the text fields of my contact form from white to black (or transparent, as the background of my website is black), and I would like the font to be white (#FFFFFF). I would also like a white border (#FFFFFF) around the actual text fields if possible.
My website is https://nightshiftintl.com for reference, using the Venture theme.
Thank you,
Chris
Solved! Go to the solution
This is an accepted solution.
.contact-form input, textarea, select {
background: #000;
border: 1px solid #fff;
color: #fff;
}
Add this css at the bottom of Online Store->Theme->Edit code->Assets->theme.scss.liquid
This is an accepted solution.
.contact-form input, textarea, select {
background: #000;
border: 1px solid #fff;
color: #fff;
}
Add this css at the bottom of Online Store->Theme->Edit code->Assets->theme.scss.liquid
Hi, that worked perfectly, thank you very much!
If you don't mind, there are a few other small bits of code I could use.
I'm looking to do the exact same thing on the "Account" page - making the text fields black with a white border and font.
On the Contact page, I'd like to make the titles of each box (Name, Email, Message) all written above the box, and at full opacity (fully white).
And lastly, I'd like to make the title "Contact Us" align with the body text and text fields (so it should come to the right a bit).
I thank you very much for your help,
Chris
Where can I add the code, if I don’t have theme.scss.liquid?
Hi there, I had the same question as the original poster but the inverse (wanted the inside of my text fields to be white, and the font to be black). I used the above code just switching the colors and it worked perfectly on the first name and last name fields in my contact area! But it did not change the message field. Do you know what else I need to add to the code to have it work on the message field as well? This is what I copied/pasted in, and this is my contact us page after making that change:
https://summerset.co/pages/contact
.contact-form input, textarea, select { background: #fff; border: 1px solid #000; color: #000; }
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025