Contact form drop-down customize

Contact form drop-down customize

bariqah1423
New Member
4 0 3

Hello.

 

I have added a dropdown to my contact page called "Subject", as you can see here.

 

But the styling of it is completely different to every other box/field of the contact form.

 

I want to make it so that the dropdown part looks the same as the other boxes, and has the same styling effects etc.

 

Thanks.

 

Screenshot 2025-02-03 13.27.13.png

Replies 3 (3)

DaisyVo
Shopify Partner
4451 497 591

Hi @bariqah1423 

 

Thank you for reaching out to the Shopify community. I'd be glad to assist you. Could you kindly share your store URL and password (if it’s password-protected) so I can review it and provide you with an update?

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution
DaisyVo
Shopify Partner
4451 497 591

Could you kindly share your store URL and password (if it’s password-protected) so I can review it and provide you with an update?

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution

Vinsinfo
Shopify Partner
491 167 172

@bariqah1423 Please follow the below steps to customize the drop-down field to match the style of your other fields in contact form. Let us know whether it is helpful for you.

 
1. Go to "Online stores" -> "Themes".
2. Click action button from the current theme and select "Edit code".
3. Search "base.css" file and paste below CSS code at the bottom of the file like in the attached screenshot.

 

#request-type {
    background-color: transparent !important;
    color: #898981 !important;
    border: 1px solid #898981;
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
}
#request-type:hover {
    box-shadow: 0px 0px 0px 1px;
}
#request-type:focus-visible {
    outline: none;
    outline-offset: unset;
    box-shadow: none;
}
/* Make Send button text visible */
.contact__button .button {
    color: #FFFFFF !important;
}

 

FYI: We’ve updated the Send button text color to white(#FFFFFF) to improve visibility. If you'd like to change the text color, simply replace #FFFFFF with your desired color code. If you need any further assistance, feel free to reach out! We're happy to help.
Vinsinfo_1-1738563955613.png

 

 
4. Result will be like,
Vinsinfo_0-1738563945520.png

 

 
Please provide your support by click "Like" and "Accepted" if our solution works for you. Thanks for your support.
Please reach out to bizdev@vinsinfo.com for any enquires related to Shopify.
Our Services: Custom Theme Development, Theme Customization, Custom Feature Implementation, Data Migration, Custom APP Development, Website Optimization and Google Merchant Center Support