CSS code not working on contact form submit button!

Hi, I’ve used the following CSS code before on previous contact form submit buttons and it’s always worked, but this time, for some reason the font weight and font size isn’t changing and I haven’t got a clue why! Would you be able to take a look for me please and see if I’ve missed anything?

input.wpcf7-form-control.wpcf7-submit {
  font-family: "Raleway",sans-serif;
  font-weight: 700;
  font-size: 1.5em !important;
  text-shadow: none;
  padding: 0.65em 0.85em 0.55em;
  border: none;
  color: rgb(61,61,61);
}

I’ll put the URL in a secure note as it’s on a temp link.

Thanks!

Hi There,

Thanks for writing in!

I can see there is some extra spacing in the CSS code, thats why its note working.
Please find the corrected CSS.

input.wpcf7-form-control.wpcf7-submit {
  font-family: "Raleway",sans-serif;
  font-weight: 700;
  font-size: 1.5em !important;
  text-shadow: none;
  padding: 0.65em 0.85em 0.55em;
  border: none;
  color: rgb(61,61,61);
}

Hope this helps!

Hi, thanks, it worked! I’m a bit confused because the spacing looks exactly the same as in the CSS I did!

Cheers

You’re welcome. Glad we could help.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.