Jump to content

Contact Form 7 styling

Recommended Posts

This is my page, where i have 2 contact forms, i need to fix the one in the bottom:


I want the input-type file to have a black background, so i do this:

 div.wpcf7 input[type="file"] {
   cursor: pointer;
   padding-bottom: 50px;
   background-color: #0000 !important;

But it doesn't work, it's still white.

Is something missing?

Share this post

Link to post
Share on other sites

Practically impossible to do in all browsers, only option is to place image or styled element over the top of button, which should be hidden. When the user clicks image/styled button, they actually click the hidden button instead.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...