Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #224942

    stevefox78
    Participant

    Hi,

    I’ve created a contact form using the Contact Form 7 plug in but the button is using the same colour as else where in the site which in this location results in a white on white button. I’ve searched for how to do this and found various instructions about writing css but I’m not a css expert and the instructions don’t seem to fit with the WP/Customeriser interfaces and as a result I haven’t found a way of fixing this yet.

    I’d like to be able to set the colour for the button normally as well as the hover colour.

    The URL for the relevant page is http://freshstance.co.uk/about-freshstance/

    All help appreciated!!

    Thanks

    #225020

    Christopher
    Moderator

    Hi there,

    Please add the following CSS under Customize -> Custom -> CSS :

    input.wpcf7-form-control.wpcf7-submit:hover {
    background-color: black;
    color: yellow;
    }
    input.wpcf7-form-control.wpcf7-submit {
    background-color: red;
    color: blue;
    }

    Hope it helps.

    #225254

    stevefox78
    Participant

    That’s great thanks, definitely gave me most of what I wanted.

    I also used the following to change the colour of the outer ring on the button.

    border-color: #9A989E;

    Thanks for your help.

    #225319

    Nabeel A
    Moderator

    Glad we could help 🙂

    Cheers!

    #708305

    Iceeyez
    Participant

    Great this still worked, Thank you Themeco!

    #708404

    Prasant Rai
    Moderator

    You are most welcome. 🙂

    #886632

    Thanks!!!!!!!! Saved me a lot of time

    #887250

    Christian
    Moderator

    You’re welcome. Glad we could help. 🙂

    #1014450

    ajaguilar
    Participant

    Hi there

    I know that this thread is a bit old but I used this one to change the color – so thanks!

    But, I’d like to know how to stretch the “submit” button so it lines up with the same width the fields have.

    #1014514

    Thai
    Moderator

    Hi @ajaguilar,

    Please provide us with your website URL so we can take a closer look.

    Thank you.

    #1015202

    ajaguilar
    Participant

    http://www.rudolphdefense.com/

    – completely forgot to add that on that last post (my bad)

    #1015224

    Christopher
    Moderator

    Hi there,

    Please add this code :

    input.wpcf7-form-control.wpcf7-submit {
        width: 100%;
    }

    Hope it helps.

    #1015359

    ajaguilar
    Participant

    It worked!

    Thank you!!!! 😀

    #1015368

    Thai
    Moderator

    Glad it worked 🙂

    If you need anything else please let us know.